Instance Property

markedTextStyle

A dictionary of attributes that describes how marked text should be drawn.

Required.

Declaration

@property(nonatomic, copy) NSDictionary<NSAttributedStringKey, id> *markedTextStyle;

Discussion

Marked text requires a unique visual treatment when displayed to users. See Style Dictionary Keys for descriptions of the valid keys and values for this dictionary.

See Also

Working with Marked and Selected Text

selectedTextRange

The range of selected text in a document.

Required.

markedTextRange

The range of text that is currently marked in a document.

Required.

- setMarkedText:selectedRange:

Insert the provided text and marks it to indicate that it is part of an active input session.

Required.

- unmarkText

Unmark the currently marked text.

Required.

selectionAffinity

The desired location for the insertion point.