tkach / PinCodeTextField

MIT License
260 stars 100 forks source link

Fixed bug with update of characterLimit #46

Closed ghost closed 6 years ago

ghost commented 6 years ago

Good morning. Thank you for your library, it is very interesting, I like it. In this pull request I call updateView each time when characterLimit is changing. Also I declared init(frame: CGRect) as public because I think developers can use this initialiser. I set default value of characterLimit to 4, but you can revert it if you want.

tkach commented 6 years ago

Oh, I missed to add public to init(frame:), agree it should be public. Thank you for fixing that initializer and characterLimit setting @romanpodymov24i 👍