Input Method Kit (IMKit) Framework for Mac OS X
The Input Method Kit, introduced in OS X v10.5, provides a streamlined programming interface that lets you develop input methods with far less code than older Mac programming interfaces.
The Input Method Kit provides classes and protocols for managing communication with client applications, candidates windows, and input method modes.