Spell Checking
The Application Kit contains support for spell checking of any selectable text. A single instance of the NSSpellChecker class provides access to system-wide, spellchecking services that can be used with the Application Kit’s text objects. A standard panel for spell checking is also provided to let users select alternate spellings or add words to the system-wide dictionaries. Spelling in multiple languages is supported, but Mac OS X only ships with an American English dictionary. When additional dictionaries are added to a system, NSSpellChecker uses them automatically, based on user language preferences.
The text classes provided by the Application Kit already support spell checking, and a Spelling submenu is provided by default ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access