Latest 1.3.4
Homepage https://github.com/Fawxy/CBPinEntryView
License MIT
Platforms ios 9.0
Authors

Version
License
Platform

CBPinEntryView is a view written in Swift to allow easy and slick entry of pins or codes. It allows backspacing, dismissal of keyboard and continuation, the whole code is given as a single String or Int and the view is very easily customisable in code or the storyboard.

Showing easy entry and deletion

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

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

pod "CBPinEntryView"

Put a view into your storyboard or xib and set it’s class to CBPinEntryView. Create an outlet in your file and customise either with the IBInspectable properties or in your code.

Get the code with either entryView.getPinAsString() or entryView.getPinAsInt().

There is now also an error mode which can be toggled with entryView.toggleError(). It is automatically removed if the user taps on the field or starts typing again.

Author

Chris Byatt, [email protected]

License

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

Latest podspec

{
    "name": "CBPinEntryView",
    "version": "1.3.4",
    "summary": "A view for entering arbitrary length numerical pins or codes written in Swift 3.0.",
    "description": "This view allows a user to enter a pin or code (for security/mobile verification etc) of any length. It allows deletion, continuation and allows you to get the entire entered code as a single String or Int without having to join Strings from multiple text fields. It's fast, looks nice (I think) and is customisable! Requires iOS 9+.",
    "homepage": "https://github.com/Fawxy/CBPinEntryView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Chris Byatt": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Fawxy/CBPinEntryView.git",
        "tag": "1.3.4"
    },
    "social_media_url": "https://twitter.com/ChrisByatt",
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "CBPinEntryView/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This