|ReleasedLast Release||Nov 2017|
Maintained by Marc Jordant.
This keyboard view is intended to replace the default keyboard on iPad for entering numerical values. As the default keyboard on iPad still shows all keys even for numerical entry modes, this keyboard only focuses on numeric keys.
The return key texts are available in
If you want a new language to be supported, just contact me !
You can also use the
value as the return key type and use any text you want.
To set the Numeric Keyboard as an input view of a text field, just use NKInputView.with(_:, _:) :
Declaration of the UITextField
@IBOutlet var textField: UITextField!
Somewhere in viewDidLoad (for example), add this line
NKInputView.with(textField, type: .NumberPad, returnKeyType: .Next)
There is an example project where you can see how it works. To run the example project, clone the repo, and run
pod install from the Example directory first.
NumericKeyboard is available through CocoaPods. To install it, simply add the following line to your Podfile:
Marc Jordant, [email protected]
NumericKeyboard is available under the MIT license. See the LICENSE file for more info.