Mac Developer Library

Developer

AppKit Framework Reference NSIgnoreMisspelledWords Protocol Reference

Options
Deployment Target:

On This Page
Language:

NSIgnoreMisspelledWords

Implement this protocol to have the Ignore button in the Spelling panel function properly. The Ignore button allows the user to accept a word that the spelling checker believes is misspelled. In order for this action to update the “ignored words” list for the document being checked, the NSIgnoreMisspelledWords protocol must be implemented. More...

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


import AppKit @import AppKit;

Availability


Available in OS X v10.0 and later.
  • Declaration

    Swift

    func ignoreSpelling(_ sender: AnyObject?)

    Objective-C

    - (void)ignoreSpelling:(id)sender

    Discussion

    Implement this action method to allow an application to ignore misspelled words on a document-by-document basis. This message is sent by the NSSpellChecker instance to the object whose text is being checked.

    Implement this method by using the code shown in the protocol description.

    Import Statement

    import AppKit

    Availability

    Available in OS X v10.0 and later.