Legacy Mac OS X Reference Library Apple Developer Connection

Legacy Documentclose button

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.


Deprecated NSInputManager Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in Mac OS X v10.6

image

Deprecated. (Deprecated in Mac OS X v10.6.)

- (NSImage *)image

Availability
Declared In
NSInputManager.h

initWithName:host:

(Deprecated in Mac OS X v10.6.)

- (NSInputManager *)initWithName:(NSString *)inputServerName host:(NSString *)hostName

Discussion

Cocoa constructs an NSInputManager automatically. This method is an implementation detail. You will never call this method.

Availability
Declared In
NSInputManager.h

language

Returns 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

Discussion

For additional information, see “Deploying Input Servers”.

Availability
Declared In
NSInputManager.h

localizedInputManagerName

Returns the name of the input server as it appears in the Edit>Input submenu. (Deprecated in Mac OS X v10.6.)

- (NSString *)localizedInputManagerName

Discussion

This value comes from the input server’s Info file.For additional information, see “Deploying Input Servers”.

Availability
Declared In
NSInputManager.h

server

Deprecated. (Deprecated in Mac OS X v10.6.)

- (NSInputServer *)server

Availability
Declared In
NSInputManager.h

wantsToDelayTextChangeNotifications

A 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

Discussion

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.

Availability
See Also
Declared In
NSInputManager.h

wantsToInterpretAllKeystrokes

Returns YES if the server wants all keystrokes to be sent to it as characters. (Deprecated in Mac OS X v10.6.)

- (BOOL)wantsToInterpretAllKeystrokes

Discussion

This method is needed only by the inner workings of Cocoa. You will probably not need to call this method.

Availability
See Also
Declared In
NSInputManager.h


Last updated: 2008-10-21

Did this document help you? Yes It's good, but... Not helpful...