bendodson / MonthYearWheelPicker

A UIPickerView subclass that allows you to quickly add a picker for just month and year; in most cases it can be used as a drop-in replacement for UIDatePicker.
https://bendodson.com
The Unlicense
183 stars 42 forks source link

Optimize and refactor #12

Closed basememara closed 3 years ago

basememara commented 6 years ago

Thanks for creating this!

I optimized by using lazy properties instead of creating multiple instances of DateFormatter and Calendar. Also reorganized file into logical groupings.

bendodson commented 3 years ago

Apologies, this was left for quite a while and a more recent request for Swift 5 means this is now conflicted so closing for now.