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

NSInputServiceProvider — Mac OS X 10.0

Synopsis

This protocol declares the interface for most of the functionality implemented by NSInputServer. Clients may use this class to implement their own input server classes, or to implement a delegate object that can be used with the standard NSInputServer.

@protocol NSInputServiceProvider
                                  // Instance Methods
   - (void)insertText:(id)aString 
                                 client:(id)sender;
   - (void)doCommandBySelector:(SEL)aSelector 
                                 client:(id)sender;
   - (void)markedTextAbandoned:(id)sender;
   - (void)markedTextSelectionChanged:(NSRange)newSel 
                                 client:(id)sender;
   - (void)terminate:(id)sender;
   - (BOOL)canBeDisabled;
   - (BOOL)wantsToInterpretAllKeystrokes;
   - (BOOL)wantsToHandleMouseEvents;
   - (BOOL)wantsToDelayTextChangeNotifications;
   - (void)inputClientBecomeActive:(id)sender;
   - (void)inputClientResignActive:(id)sender;
   - (void)inputClientEnabled:(id)sender;
   - (void)inputClientDisabled:(id)sender;
   - (void)activeConversationWillChange:(id)sender 
                                 fromOldConversation:(long)oldConversation;
   - (void)activeConversationChanged:(id)sender 
                                 toNewConversation:(long)newConversation;
@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