Conforms to | |
Framework | /System/Library/Frameworks/UIKit.framework |
Availability | Available in iOS 3.2 and later. |
Declared in | UITextInput.h |
The text input delegate acts as an intermediary between a document and the text input system, conveying notifications of pending or transpired changes in text and selection in the document.
The UIKit provides a private text input delegate, which it assigns at runtime to the inputDelegate property of the object whose class adopts the UITextInput protocol.
– textWillChange:
required method
– textDidChange:
required method
– selectionWillChange:
required method
– selectionDidChange:
required method
Tells the input delegate when the selection has changed in the document. (required)
- (void)selectionDidChange:(id <UITextInput>)textInput
The document instance whose class adopts the UITextInput protocol.
UITextInput.h
Tells the input delegate when the selection is about to change in the document. (required)
- (void)selectionWillChange:(id <UITextInput>)textInput
The document instance whose class adopts the UITextInput protocol.
UITextInput.h
Tells the input delegate when text has changed in the document. (required)
- (void)textDidChange:(id <UITextInput>)textInput
The document instance whose class adopts the UITextInput protocol.
UITextInput.h
Tells the input delegate when text is about to change in the document. (required)
- (void)textWillChange:(id <UITextInput>)textInput
The document instance whose class adopts the UITextInput protocol.
UITextInput.h
Last updated: 2010-02-25