Is there any reference or information for creating an input method for Mac OS X?

1k Views Asked by At

Any information is welcome.

I know nothing about the APIs for input methods in OS X.

2

There are 2 best solutions below

3
Rob Napier On BEST ANSWER
0
pkamb On

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:

https://github.com/pkamb/NumberInput_IMKit_Sample