Latest 1.4.0
Homepage https://github.com/marcjordant/NumericKeyboard
License MIT
Platforms ios 8.0
Authors

Version
License
Platform

Description

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.

screenshot

screenshot

Localisation

The return key texts are available in

  • English
  • French
  • Dutch
  • German
  • Spanish
  • Italian
  • Hebrew
  • Swedish

New language

If you want a new language to be supported, just contact me !

Custom text

You can also use the

NKKeyboardReturnKeyType.Custom(text: String) 

value as the return key type and use any text you want.

Example

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)

Example project

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.

Requirements

iOS 8+

Installation

NumericKeyboard is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "NumericKeyboard"

Author

Marc Jordant, [email protected]

License

NumericKeyboard is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "NumericKeyboard",
    "version": "1.4.0",
    "summary": "NumericKeyboard is a input view for UITextField & UITextView that shows a numeric entry keyboard on iPad.",
    "description": "This keyboard view is intended to replace the default keyboard on iPad for entering numerical values.nAs the default keyboard on iPad still shows all keys even for numerical entry modes, this keyboard only focuses on numeric keys.",
    "homepage": "https://github.com/marcjordant/NumericKeyboard",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Marc Jordant": "[email protected]"
    },
    "source": {
        "git": "https://github.com/marcjordant/NumericKeyboard.git",
        "tag": "1.4.0"
    },
    "screenshots": "https://github.com/marcjordant/NumericKeyboard/blob/master/example.png?raw=true",
    "social_media_url": "https://twitter.com/marcjordant",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "NumericKeyboard/Classes/**/*",
    "resource_bundles": {
        "NumericKeyboard": [
            "NumericKeyboard/Assets/**/*",
            "NumericKeyboard/Resources/**/*"
        ]
    },
    "pushed_with_swift_version": "3.2"
}

Pin It on Pinterest

Share This