@interface NSSpellServer : NSObject
|
// Accessor Methods |
- (void)setDelegate:(id)anObject;
|
- (id)delegate;
|
// Instance Methods |
- (BOOL)isWordInUserDictionaries:(NSString *)word caseSensitive:(BOOL)flag;
|
- (BOOL)registerLanguage:(NSString *)language byVendor:(NSString *)vendor;
|
- (void)run;
|
// Methods Implemented by the Delegate |
- (void)spellServer:(NSSpellServer *)sender didForgetWord:(NSString *)word inLanguage:(NSString *)language;
|
- (void)spellServer:(NSSpellServer *)sender didLearnWord:(NSString *)word inLanguage:(NSString *)language;
|
- (NSRange)spellServer:(NSSpellServer *)sender findMisspelledWordInString:(NSString *)stringToCheck
language:(NSString *)language wordCount:(int *)wordCount countOnly:(BOOL)countOnly;
|
- (NSArray *)spellServer:(NSSpellServer *)sender suggestGuessesForWord:(NSString *)word
inLanguage:(NSString *)language;
|