Name

NSChangeSpelling — Mac OS X 10.0

Synopsis

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;
@end

Get Cocoa in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.