Apple's NumberInput
sample code for creating an OS X input method using the Mac OS X Cocoa-based InputMethodKit framework.
In this repository I have simply sequentially committed each stage of the NumberInput_IMKit_Sample
project. This allows for easily viewing the additions in each stage of the sample project.
https://developer.apple.com/library/mac/samplecode/NumberInput_IMKit_Sample/Introduction/Intro.html
This sample demonstrates how to write an input method using the Mac OS X v10.5 Cocoa based InputMethodKit.
This sample includes five stages. You begin with a simple do nothing version and move to a full version.
Copyright (C) 2007 Apple Inc. All Rights Reserved.
It would be great to see other projects built using the Input Method Kit framework. If you come across this sample code, feel free to post a link to your IMKit project at the GitHub issue below.