Instance Method


Tells the receiver to ignore the specified word when spell-checking.


func ignoreWord(_ wordToIgnore: String)



A string that is a word the receiver should ignore when it is spell-checking a document.


The spell checker excludes ignored words as misspelled words during the current spell-checking session only.

See Also

Learning and Ignoring Words

var ignoredWords: [String]?

Returns the words that the receiver ignores when spell-checking.

class func learnWord(String)

Tells the text checker to learn the specified word so that it is not evaluated as misspelled.

class func unlearnWord(String)

Tells the text checker to unlearn the specified word

class func hasLearnedWord(String) -> Bool

Returns whether the text checker has learned the specified word.