NSChangeSpelling Mac OS X 10.0

This protocol declares the single action method changeSpelling:, implemented to receive messages from the Spelling panel notifying them of text selections that need to be replaced. The sender of the changeSpelling: message is the Spelling panel. Classes should implement this method to query the sender for the word that the user has selected in the panel, and replace the current selection with that word.

@protocol NSChangeSpelling
 // Instance Methods
   - (void)changeSpelling:(id)sender;

    Part II: API Quick Reference
    Chapter 13. Foundation Classes