Re: Learning a word with the spell checker
Re: Learning a word with the spell checker
- Subject: Re: Learning a word with the spell checker
- From: Douglas Davidson <email@hidden>
- Date: Mon, 5 Nov 2007 11:12:04 -0800
On Nov 1, 2007, at 9:43 PM, Martin Wierschin wrote:
We're using NSSpellchecker without the UI from a cross platform
app. Is there any way to tell the spell checking system to learn a
word? I see unlearnWord: and ignore word APIs, but none to add a
word to the dictionary.
It's an undocumented method, but as far back as 10.3.9
NSSpellChecker will respond to "learnWord:"
As of Leopard, it is now documented. See the Leopard AppKit release
notes for details.
Douglas Davidson
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden