Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Swift adding custom keyboard or numpad in app

What types of restrictions is there when adding a custom keyboard or numpad in an app?

I know that some apps requires you to enable keyboards in your system settings.

I recently saw an app using this keyboard:

enter image description here

The app does not require you to activate the keyboard. So how can I make my own custom numpad like this one?

Feel free to share any tutorials/libraries

thanks,

like image 258
Kiwo Tew Avatar asked Nov 10 '22 05:11

Kiwo Tew


1 Answers

There's a great swift keyboard/calculator tutorial out there that will serve as a starting point for what you're doing: http://code.tutsplus.com/tutorials/ios-8-creating-a-custom-keyboard-in-swift--cms-22344

In terms of "restrictions", you can add the keyboard to the parent app without any problems. If you want to make your keyboard available in OTHER apps, then you will need to adhere to the restrictions that Apple lays out on this page: https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/Keyboard.html - search for "trust"

Swift and Xcode are both moving targets that are updated more often than a project can be completed! So be ready to deal with constant updates as you go through the learning curve. Sometimes the time it takes for a client to approve something is enough time for the Swift/xCode/iOS paradigm to change enough to require you to "fix" things that already worked before submitting for approval. Just row row gently down the stream.

like image 154
dmcknight Avatar answered Nov 14 '22 22:11

dmcknight