TimOliver / TOPasscodeViewController

A modal passcode input and validation view controller for iOS
MIT License
385 stars 96 forks source link

Added super-elliptical rounding to settings keypad #34

Closed TimOliver closed 4 years ago

TimOliver commented 4 years ago

I haven't forgotten about this library. I'm going to need to set aside some time to give it a pretty big overhaul.

In the meantime. I've been considering breaking out the settings keypad to its own standalone library. As part of that, I was wondering if I could add the more common superellipse effect from iOS 13 to the buttons as bezier paths.

Turns out the lovely folks at PaintCode solved this a long time ago with a custom UIBezierPath category to create superellipse rectangles.

More to come soon. Hopefully. :)