O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required