Protocol

UITextInputDelegate

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.

Overview

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.

Symbols

Notifying the Delegate of Textual Changes

func textWillChange(UITextInput?)
Required.

Tells the input delegate when text is about to change in the document.

func textDidChange(UITextInput?)
Required.

Tells the input delegate when text has changed in the document.

Notifying the Delegate of Selection Changes

func selectionWillChange(UITextInput?)
Required.

Tells the input delegate when the selection is about to change in the document.

func selectionDidChange(UITextInput?)
Required.

Tells the input delegate when the selection has changed in the document.

Relationships

Inherits From