Contents

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