Important:
NSInputServiceProvider protocol is deprecated in Mac OS X v10.6 and later. To create input methods, use the Input Method Kit, described in Input Method Kit Framework Reference. For information about text input in Cocoa, see NSTextInputContext Class Reference.
| Adopted by | |
| Framework | /System/Library/Frameworks/AppKit.framework |
| Availability | Available in Mac OS X v10.0 and later. |
| Companion guide | |
| Declared in | NSInputServer.h |
Important: NSInputServiceProvider protocol is deprecated in Mac OS X v10.6 and later. To create input methods, use the Input Method Kit, described in Input Method Kit Framework Reference. For information about text input in Cocoa, see NSTextInputContext Class Reference.
The NSInputServiceProvider protocol embodies most of the functionality of NSInputServer.
There are two ways you might use this protocol:
You can subclass NSInputServer and create an instance of your subclass. Your subclass must override most or all of the NSInputServiceProvider protocol methods.
You can create an NSInputServer object and designate a delegate. The delegate must implement the NSInputServiceProvider protocol.
All messages in this protocol are sent by the client text view except insertText:client: and doCommandBySelector:client:, which are sent by "NSInputManager".
– canBeDisabled required method Deprecated in Mac OS X v10.6
– activeConversationChanged:toNewConversation: required method Deprecated in Mac OS X v10.6
– activeConversationWillChange:fromOldConversation: required method Deprecated in Mac OS X v10.6
– doCommandBySelector:client: required method Deprecated in Mac OS X v10.6
– inputClientBecomeActive: required method Deprecated in Mac OS X v10.6
– inputClientDisabled: required method Deprecated in Mac OS X v10.6
– inputClientEnabled: required method Deprecated in Mac OS X v10.6
– inputClientResignActive: required method Deprecated in Mac OS X v10.6
– insertText:client: required method Deprecated in Mac OS X v10.6
– markedTextAbandoned: required method Deprecated in Mac OS X v10.6
– markedTextSelectionChanged:client: required method Deprecated in Mac OS X v10.6
– terminate: required method Deprecated in Mac OS X v10.6
– wantsToDelayTextChangeNotifications required method Deprecated in Mac OS X v10.6
– wantsToHandleMouseEvents required method Deprecated in Mac OS X v10.6
– wantsToInterpretAllKeystrokes required method Deprecated in Mac OS X v10.6
Last updated: 2008-10-20