TimOliver / TOPasscodeViewController

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

Allow custom number and lettering fonts for keypad button #24

Closed MacroYau closed 5 years ago

TimOliver commented 6 years ago

Aw, while custom fonts and lettering is a good idea (Especially when updating the visual style for iOS 11), having a single property isn't sufficient.

There are 3 separate layout objects that control the sizing of the font depending on the width of the screen (ie, iPhone SE, iPhone 8 Plus, and iPad), so in order to properly add custom fonts, a mechanism to set the font for each layout object would be needed.

TimOliver commented 5 years ago

Um, so because of issue #31, I need to redesign the whole view controller now. As part of that, this code is probably going to all go away. :(

Thanks for the PR though.