TeehanLax / UICollectionView-Spring-Demo

A demonstration of UICollectionView and UIKit Dynamics
MIT License
473 stars 71 forks source link

Will crash with self sizing cell on iOS 8 and repeating call to _updateVisibleCellsNow #20

Open iaomw opened 9 years ago

iaomw commented 9 years ago

I am trying to use the so called "self sizing cell" which means:

It works fine without UIDynamic, but I need UIDynamic. As what I see, it will call the prepareLayout and layoutAttributesForElementsInRect until die, there will be too many _updateVisibleCellsNow waiting in line.

I have no idea how to solve that, please help me incase u see. Or, if I am using those technologies in wrong way, please let me know.