Is there any reference or information for creating an input method for Mac OS X?
-
25-10-2019 - |
سؤال
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:
لا تنتمي إلى StackOverflow