Instance Property


A tag identifying the text view's text as a document for the spell checker server.


@property(readonly) NSInteger spellCheckerDocumentTag;


The document tag is obtained by sending a uniqueSpellDocumentTag message to the spell server the first time this method is invoked for a particular group of text views. See the NSSpellCheckerand NSSpellServerclass specifications for more information on how this tag is used.

See Also

Working With the Spelling Checker


A Boolean value that indicates whether the receiver has continuous spell checking enabled.

- toggleContinuousSpellChecking:

Toggles whether continuous spell checking is enabled for the receiver.


Enables and disables grammar checking.

- toggleGrammarChecking:

Changes the state of grammar checking from enabled to disabled and vice versa.

- setSpellingState:range:

Sets the spelling state, which controls the display of the spelling and grammar indicators on the given text range.