akkyie / AKPickerView

A simple yet customizable horizontal picker view.
MIT License
893 stars 106 forks source link

UICollectionViewFlowLayout cache mismatched frame (iOS9, xCode7) #62

Closed mladen-stankovic closed 9 years ago

mladen-stankovic commented 9 years ago

AKPickerView outputs this when running on iOS9, xCode7:

Logging only once for UICollectionViewFlowLayout cache mismatched frame UICollectionViewFlowLayout has cached frame mismatch for index path <NSIndexPath: 0xc000000000000016> {length = 2, path = 0 - 0} - cached value: {{170.66667847961008, 0}, {72.999976338098122, 736}}; expected value: {{170.66666666666666, 0}, {73, 736}} This is likely occurring because the flow layout subclass AKCollectionViewLayout is modifying attributes returned by UICollectionViewFlowLayout without copying them

Ku6ep commented 9 years ago

Why this fix not included to main branch yet?