spellServer(_:didLearnWord:inLanguage:)
Notifies the delegate that the sender has added the specified word to the user’s list of acceptable words in the specified language.
Declaration
optional func spellServer(_ sender: NSSpellServer, didLearnWord word: String, inLanguage language: String)Parameters
- sender:
The
NSSpellServerobject that added the word. - word:
The word that was added.
- language:
The language of the added word.
Discussion
If your delegate maintains a similar auxiliary word list, you may wish to edit the list accordingly.