BTUIKFormFieldDelegate
Objective-C
@protocol BTUIKFormFieldDelegate <NSObject>
Swift
protocol BTUIKFormFieldDelegate : NSObjectProtocol
@protocol Required by the delegate
-
Called when the content changes
Declaration
Objective-C
- (void)formFieldDidChange:(BTUIKFormField *)formField;
Swift
func formFieldDidChange(_ formField: BTUIKFormField!)
-
Use to override the default behavior or returning
YES
for textFieldShouldReturn.Declaration
Objective-C
- (BOOL)formFieldShouldReturn:(BTUIKFormField *)formField;
Swift
optional func formFieldShouldReturn(_ formField: BTUIKFormField!) -> Bool
-
Did begin editing
Declaration
Objective-C
- (void)formFieldDidBeginEditing:(BTUIKFormField *)formField;
Swift
optional func formFieldDidBeginEditing(_ formField: BTUIKFormField!)
-
Did end editing
Declaration
Objective-C
- (void)formFieldDidEndEditing:(BTUIKFormField *)formField;
Swift
optional func formFieldDidEndEditing(_ formField: BTUIKFormField!)