Next Page > Hide TOC

NSInputServer Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/AppKit.framework
Availability
Available in Mac OS X v10.0 and later.
Companion guide
Declared in
NSInputServer.h

Overview

This class, together with NSInputManager, are central to the mechanism that interprets keystrokes and delivers text characters to text view objects. NSInputServer objects provide the direct interface between the user and the text management system, communicating to text views via NSInputManager.

Adopted Protocols

NSInputServiceProvider
NSInputServerMouseTracker

Tasks

Creating Input Service Providers

Instance Methods

initWithDelegate:name:

Initializes an input server with optional delegate and with name.

- (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

Next Page > Hide TOC


© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-04-01)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.