diff -r 2c06b1120749 -r 00215a7ec5f5 project_files/HedgewarsMobile/Classes/EditableCellView.h --- a/project_files/HedgewarsMobile/Classes/EditableCellView.h Fri Dec 29 22:37:31 2017 +0100 +++ b/project_files/HedgewarsMobile/Classes/EditableCellView.h Sat Dec 30 01:22:11 2017 +0100 @@ -22,12 +22,12 @@ @protocol EditableCellViewDelegate --(void) saveTextFieldValue:(NSString *)textString withTag:(NSInteger) tagValue; +- (void)saveTextFieldValue:(NSString *)textString withTag:(NSInteger)tagValue; @end @interface EditableCellView : UITableViewCell { - id delegate; + id __weak delegate; UITextField *textField; UILabel *titleLabel; NSUInteger minimumCharacters; @@ -38,16 +38,16 @@ NSString *oldValue; } -@property (nonatomic,assign) id delegate; -@property (nonatomic,retain,readonly) UITextField *textField; -@property (nonatomic,retain,readonly) UILabel *titleLabel; -@property (nonatomic,assign) NSUInteger minimumCharacters; -@property (nonatomic,assign) NSUInteger maximumCharacters; -@property (nonatomic,assign) BOOL respectEditing; -@property (nonatomic,retain) NSString *oldValue; +@property (nonatomic, weak) id delegate; +@property (nonatomic, strong, readonly) UITextField *textField; +@property (nonatomic, strong, readonly) UILabel *titleLabel; +@property (assign) NSUInteger minimumCharacters; +@property (assign) NSUInteger maximumCharacters; +@property (assign) BOOL respectEditing; +@property (nonatomic, strong) NSString *oldValue; --(void) replyKeyboard; --(void) cancel:(id) sender; --(void) save:(id) sender; +- (void)replyKeyboard; +- (void)cancel:(id)sender; +- (void)save:(id)sender; @end