SwiftyKeyboard is an iOS customized enhanced keyboard. This keyboard view is intended to replace the default keyboard on iPhone/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.
And it supports customize the UI of keys, and the positions etc. In the other word, SwiftyKeyboard is a full customized numeric keyboard for iOS.
iPad ScreenShot:
iPhone ScreenShot:
SwiftyKeyboard is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SwiftyKeyboard'
Drag 'n drop SwiftyTextView.swift into your project.
let numbericKeyboard = SwiftyKeyboard(frame: CGRect.zero)
yourTextField.inputView = numbericKeyboard // yourTextField is the pre defined textField
numbericKeyboard.keyInput = yourTextField
numbericKeyboard.delegate = self
numbericKeyboard.allowsDecimalPoint = true // can set as true or false
- Swift 5.0+
- iOS 10.0+
- Feel free to contact me with ideas or suggestions at swiftykit@gmail.com
- Fork the project and make your own changes
SwiftyTextView is available under the MIT license. See the LICENSE file for more info.