learnWord(_:)
Adds the word to the spell checker dictionary.
Declaration
func learnWord(_ word: String)Parameters
- word:
The word to add.
See Also
Managing the Spell-Checking Process
uniqueSpellDocumentTag()closeSpellDocument(withTag:)ignoreWord(_:inSpellDocumentWithTag:)ignoredWords(inSpellDocumentWithTag:)setIgnoredWords(_:inSpellDocumentWithTag:)setWordFieldStringValue(_:)updateSpellingPanel(withMisspelledWord:)completions(forPartialWordRange:in:language:inSpellDocumentWithTag:)hasLearnedWord(_:)unlearnWord(_:)userQuotesArray(forLanguage:)userReplacementsDictionary