Returns an object initialized with the document object that directly communicates with the text input system.
- iOS 3.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
The document object in the application that adopts the UITextInput protocol for the purposes of communicating with the text input system.
An instance of a subclass of
nil if the object couldn’t be created.
The subclass of UITextInputStringTokenizer should not retain
text; the tokenizer should always have a lifetime bounded by that of the UITextInput-conforming object and a retaining reference would create a retain cycle.