lxcid / LXReorderableCollectionViewFlowLayout

Extends `UICollectionViewFlowLayout` to support reordering of cells. Similar to long press and pan on books in iBook.
http://lxcid.com/
MIT License
1.86k stars 328 forks source link

Use CADisplayLink instead of NSTimer, dataSource updates #30

Closed zadr closed 11 years ago

zadr commented 11 years ago
lxcid commented 11 years ago

Sorry I took so long to reply. I like this update except for one small issue. Because with NSTimer, we can "assume" interval between callback to be 60 fps (as I hardcoded it) and since CADisplayLink is more dependent on the refresh rate of the screen, I felt it need a way to track the interval between frames.

I'll still merge this nevertheless but I'll create a new issue regarding my concern. Thanks for the PR!