Deprecated NSSpellChecker Methods
A method identified as deprecated has been superseded and may become unsupported in the future.
Deprecated in OS X v10.5
forgetWord:
Remove this word from the spelling dictionary. (Deprecated in OS X v10.5. Use unlearnWord: instead.)
- (void)forgetWord:(NSString *)word
Parameters
- word
The word to remove.
Availability
- Available in OS X v10.5 and later.
- Deprecated in OS X v10.5.
Declared In
NSSpellChecker.hDeprecated in OS X v10.6
guessesForWord:
Returns an array of suggested spellings for the misspelled word. (Deprecated in OS X v10.6. Use guessesForWordRange:inString:language:inSpellDocumentWithTag: instead.)
- (NSArray *)guessesForWord:(NSString *)word
Parameters
- word
A misspelled word.
Return Value
An array of suggested spellings for the word.
Discussion
If word contains all capital letters, or its first letter is capitalized, the suggested words are capitalized in the same way.
Availability
- Available in OS X v10.0 and later.
- Deprecated in OS X v10.6.
Declared In
NSSpellChecker.h© 2011 Apple Inc. All Rights Reserved. (Last updated: 2011-05-14)