Skip to content

Commit

Permalink
fix for crash xmartlabs#1043
Browse files Browse the repository at this point in the history
  • Loading branch information
liraz committed Feb 10, 2019
1 parent 1f876ee commit b65639b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions XLForm/XL/Cell/XLFormTextFieldCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ -(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSStri

-(void)dealloc
{
[self.textField removeTarget:self action:@selector(textFieldDidChange:) forControlEvents:UIControlEventEditingChanged];
self.textField.delegate = nil;

[self.dynamicCustomConstraints removeAllObjects];
self.dynamicCustomConstraints = nil;

Expand Down

0 comments on commit b65639b

Please sign in to comment.