syshen / FlatDatePicker

MIT License
158 stars 23 forks source link

Dynamic Collection Sizing #14

Closed brandon2137 closed 10 years ago

brandon2137 commented 10 years ago

I believe line 462 of SSFlatDatePicker.m should be "return numberOfItems". Otherwise, the delegate returns 0 for the size of each collection view. The original code ultimately causes a crash in my project when instantiating the control outside of Interface Builder.

syshen commented 10 years ago

good finding, fixed

brandon2137 commented 10 years ago

Thanks