Releases: Fawxy/CBPinEntryView
Swift 5, Underline mode + programmatic changes
Add alphanumeric support
Add support for any character, and allow restriction. Also allow text field capitalisation types.
One time code support
This release adds support for iOS one time codes, and allows setting a background colour on the currently editing field, similar to how you can set the border colour on the currently editing field.
I also fixed a bug where the error mode would clear to the editing border colour rather than the default border colour.
Clear entry!
Now you can clear the entry with a single function call! I also changed how errors work... toggling wasn't necessarily great. Also this should totally have been 1.6.0 as it has breaking changes... but what are you gonna do, sue me?...
Please don't sue me.
Add spacing as a property
1.5.3 Update podspec
Allow keyboard type selection
You can now select the keyboard type! Sorry I didn't think of this before!
Secure entry, become first responder and potential memory leak fix
I've added secure entry! Want a hidden pin code entry? Just enable isSecure
and choose your secure entry character (or emoji etc!). Get the pin the same way as before.
Swift 4.0
Change Delegate
At request, I've added a delegate that lets you know when the text field changes so you can auto submit should you wish.
Default border
If you don't want your cell border to be white or empty by default, set the entryDefaultBorderColour to whatever colour you want!