Any information is welcome.
I know nothing about the APIs for input methods in OS X.
Any information is welcome.
I know nothing about the APIs for input methods in OS X.
Look at the Input Method Kit Framework Reference and the sample code.
You're looking for the Input Method Kit framework.
Apple provides the NumberInput
project as an InputMethodKit code sample.
This sample includes five stages. You begin with a simple do nothing version and move to a full version.
I found their provided sample code rather hard to follow, as each "step" in the project is distributed in its own folder. I've uploaded each step as a separate commit in a git project here: