Instance Method

selectionWillChange(_:)

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

Required.

Declaration

func selectionWillChange(_ textInput: UITextInput?)

Parameters

textInput

The document instance whose class adopts the UITextInput protocol.

See Also

Notifying the Delegate of Selection Changes

func selectionDidChange(UITextInput?)

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

Required.