A customisable view for entering arbitrary length numerical pins or codes written in Swift.
Shell Swift Ruby Objective-C
Latest commit 58beb54 Mar 19, 2017 @Fawxy committed on GitHub Update README.md
Permalink
Failed to load latest commit information.
CBPinEntryView Fix ignoring set properties Mar 19, 2017
Example Initial commit Mar 19, 2017
.gitignore Initial commit Mar 19, 2017
.travis.yml Initial commit Mar 19, 2017
CBPinEntryView.podspec Fix ignoring set properties Mar 19, 2017
LICENSE Initial commit Mar 19, 2017
README.md Update README.md Mar 19, 2017
_Pods.xcodeproj Initial commit Mar 19, 2017

README.md

CBPinEntryView

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().

Author

Chris Byatt, byatt.chris@gmail.com

License

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