I know there is an API reference for the InputMethodKit framework. And there is also sample code in Objective-C, but it doesn't provide an example in Swift.
Does anyone know how to make a simple IME in Swift? It can have features like repeating the letter but just not doing nothing, so I can know it actually works. With which Xcode SDKs do you build it and run it successfully?
I've uploaded Apple's
NumberInputsample code to a github repo for easier readability:https://github.com/pkamb/NumberInput_IMKit_Sample
Specifically I have uploaded each "step" in the sample project demonstration as its own git commit. This allows for much easier diffing of the project workflow. Follow along to see how they add features to the sample Input Method project.