Code Monkey home page Code Monkey logo

numerickeyboard's Introduction

NumericKeyboard

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.

numerickeyboard's People

Contributors

alissonenz avatar marcjordant avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.