Display a suitable user interface to indicate a correction may need to be made.
- macOS 10.7+
The correction type to display. See
NSSpellfor possible values.
Checker .Correction Indicator Type
The first string to be displayed, a correction or reversion according to the
An array of alternative strings to insert. This array may be empty.
The rectangle of the typed text.
The view in which the correction indicator is to be displayed.
The Block called when a the correction indicator is dismissed.
The Block takes one argument:
The correction string the user excepted. If the user does not select a correction string nil is returned.
Only one indicator at a time may be displayed for a given view, and the only thing a client may do with the indicator after displaying it is to dismiss it using the