Contents

ignoreWord(_:)

Tells the text checker to ignore the specified word when spell-checking.

Declaration

func ignoreWord(_ wordToIgnore: String)

Parameters

  • wordToIgnore:

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

Discussion

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

See Also

Learning and Ignoring Words