ignoreWord(_:inSpellDocumentWithTag:)
Instructs the spell checker to ignore all future occurrences of wordToIgnore in the document identified by tag.
Declaration
func ignoreWord(_ wordToIgnore: String, inSpellDocumentWithTag tag: Int)Discussion
You should invoke this method from within your implementation of the NSIgnoreMisspelledWords protocol’s ignoreSpelling(_:) method.
See Also
Managing the Spell-Checking Process
uniqueSpellDocumentTag()closeSpellDocument(withTag:)ignoredWords(inSpellDocumentWithTag:)setIgnoredWords(_:inSpellDocumentWithTag:)setWordFieldStringValue(_:)updateSpellingPanel(withMisspelledWord:)completions(forPartialWordRange:in:language:inSpellDocumentWithTag:)hasLearnedWord(_:)unlearnWord(_:)learnWord(_:)userQuotesArray(forLanguage:)userReplacementsDictionary