|ReleasedLast Release||Jun 2017|
Maintained by Chris Byatt.
|Apps WeekApps This Week||8|
|LOCLines of Code||215|
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.
To run the example project, clone the repo, and run
pod install from the Example directory first.
CBPinEntryView is available through CocoaPods. To install it, simply add the following line to your Podfile:
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
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.
Chris Byatt, [email protected]
CBPinEntryView is available under the MIT license. See the LICENSE file for more info.