project_files/HedgewarsMobile/Classes/EditableCellView.h
changeset 6908 896ed2afcfb8
parent 6832 fae8fd118da9
child 10108 c68cf030eded
equal deleted inserted replaced
6907:a2f9a9a62dc5 6908:896ed2afcfb8
    28 
    28 
    29 @interface EditableCellView : UITableViewCell <UITextFieldDelegate> {
    29 @interface EditableCellView : UITableViewCell <UITextFieldDelegate> {
    30     id<EditableCellViewDelegate> delegate;
    30     id<EditableCellViewDelegate> delegate;
    31     UITextField *textField;
    31     UITextField *textField;
    32     UILabel *titleLabel;
    32     UILabel *titleLabel;
    33     NSInteger minimumCharacters;
    33     NSUInteger minimumCharacters;
    34     NSInteger maximumCharacters;
    34     NSUInteger maximumCharacters;
    35     BOOL respectEditing;
    35     BOOL respectEditing;
    36 
    36 
    37 @private
    37 @private
    38     NSString *oldValue;
    38     NSString *oldValue;
    39 }
    39 }
    40 
    40 
    41 @property (nonatomic,assign) id<EditableCellViewDelegate> delegate;
    41 @property (nonatomic,assign) id<EditableCellViewDelegate> delegate;
    42 @property (nonatomic,retain,readonly) UITextField *textField;
    42 @property (nonatomic,retain,readonly) UITextField *textField;
    43 @property (nonatomic,retain,readonly) UILabel *titleLabel;
    43 @property (nonatomic,retain,readonly) UILabel *titleLabel;
    44 @property (nonatomic,assign) NSInteger minimumCharacters;
    44 @property (nonatomic,assign) NSUInteger minimumCharacters;
    45 @property (nonatomic,assign) NSInteger maximumCharacters;
    45 @property (nonatomic,assign) NSUInteger maximumCharacters;
    46 @property (nonatomic,assign) BOOL respectEditing;
    46 @property (nonatomic,assign) BOOL respectEditing;
    47 @property (nonatomic,retain) NSString *oldValue;
    47 @property (nonatomic,retain) NSString *oldValue;
    48 
    48 
    49 -(void) replyKeyboard;
    49 -(void) replyKeyboard;
    50 -(void) cancel:(id) sender;
    50 -(void) cancel:(id) sender;