4

Any information is welcome.

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

pkamb
  • 33,281
  • 23
  • 160
  • 191
CarmeloS
  • 7,868
  • 8
  • 56
  • 103

2 Answers2

4

Look at the Input Method Kit Framework Reference and the sample code.

Rob Napier
  • 286,113
  • 34
  • 456
  • 610
  • Did you read the "about" page: "This sample includes five stages. You begin with a simple do nothing version and move to a full version." What stage are you on? – Rob Napier Jul 18 '13 at 17:53
  • [link](https://bugzilla.gnome.org/show_bug.cgi?id=698183#c12) helps, Thanks anyway! – Maadiah Jul 19 '13 at 03:28
  • @Maadiah move the product `.app` into `/Library/Input Methods/`. You can then select that input method from System Preferences. – pkamb Jun 12 '15 at 20:44
2

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

pkamb
  • 33,281
  • 23
  • 160
  • 191