Legacy Mac OS X Reference Library Apple Developer Connection

Legacy Documentclose button

Important: NSInputServer 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.


Deprecated NSInputServer Methods

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

Deprecated in Mac OS X v10.6

initWithDelegate:name:

Initializes an input server with optional delegate and with name. (Deprecated in Mac OS X v10.6.)

- (id)initWithDelegate:(id)delegate name:(NSString *)name

Discussion

The given name identifies this service in the IPC mechanism so that NSInputManager can find it. If delegate is nil, then the methods in this class must be overridden in a subclass. If delegate is non-nil, then all methods forward to the delegate, which must implement theNSInputServiceProvider protocol and which may need to implement the NSInputServerMouseTracker protocol.

Availability
Declared In
NSInputServer.h


Last updated: 2008-10-20

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