Instance Property

delegate

The receiver’s delegate.

Declaration

@property(nonatomic, weak) id<UITextFieldDelegate> delegate;

Discussion

A text field delegate responds to editing-related messages from the text field. You can use the delegate to respond to the text entered by the user and to some special commands, such as when Return is tapped.

See Also

Validating and Handling Edits

UITextFieldDelegate

A set of optional methods that you use to manage the editing and validation of text in a text field object.