Contents

IMKInputController

The IMKInputController class provides a base class for custom input controller classes. The Imkserver class, which is allocated in the main function of an input method, creates an input controller object for each input session created by a client application. For every input session there is a corresponding IMKInputController object.

Declaration

class IMKInputController

Overview

An IMKInputController object controls text input on the input method side. It manages events and text from the applications and converted text from the input method engine. IMKInputController implements fully the IMKStateSetting and IMKMouseHandling protocols. Typically you do not need to override this class, but you do need to provide a delegate object that implements the methods that your are interested in. The IMKInputController versions of the protocol methods check whether the delegate object implements a method, and calls the delegate version if it exists.

Topics

Initializing an Input Controller

Working with Ranges

Managing the Delegate

Getting the Client and Server Objects

Tracking Selections

Managing Composition

Hiding the User Interface

Working with Custom Commands

Instance Methods

See Also

Classes