Important:
NSInputManager is deprecated in Mac OS X v10.6 and later. Its replacement is NSTextInputContext class, described in NSTextInputContext Class Reference. To create input methods, use the Input Method Kit, described in Input Method Kit Framework Reference.
A method identified as deprecated has been superseded and may become unsupported in the future.
Deprecated. (Deprecated in Mac OS X v10.6.)
- (NSImage *)image
NSInputManager.h(Deprecated in Mac OS X v10.6.)
- (NSInputManager *)initWithName:(NSString *)inputServerName host:(NSString *)hostName
Cocoa constructs an NSInputManager automatically. This method is an implementation detail. You will never call this method.
NSInputManager.hReturns the Language property from the input server’s Info file, or nil if none is specified there. (Deprecated in Mac OS X v10.6.)
- (NSString *)language
For additional information, see “Deploying Input Servers”.
NSInputManager.hReturns the name of the input server as it appears in the Edit>Input submenu. (Deprecated in Mac OS X v10.6.)
- (NSString *)localizedInputManagerName
This value comes from the input server’s Info file.For additional information, see “Deploying Input Servers”.
NSInputManager.hDeprecated. (Deprecated in Mac OS X v10.6.)
- (NSInputServer *)server
NSInputManager.hA YES return value tells the sender that only a call to its insertText:client: method constitutes a modification to its text storage. (Deprecated in Mac OS X v10.6.)
- (BOOL)wantsToDelayTextChangeNotifications
A NO return value tells the sender that all text given to it, either by insertion or as part of marked text, should constitute a modification to its text storage. The sender may for example want to filter all text that is part of a modification but leave marked text unfiltered.
– wantsToDelayTextChangeNotifications (NSInputServiceProvider)NSInputManager.hReturns YES if the server wants all keystrokes to be sent to it as characters. (Deprecated in Mac OS X v10.6.)
- (BOOL)wantsToInterpretAllKeystrokes
This method is needed only by the inner workings of Cocoa. You will probably not need to call this method.
– wantsToInterpretAllKeystrokes (NSInputServiceProvider)NSInputManager.hLast updated: 2008-10-21