I am currently trying to implement the UITableView reordering behavior using UICollectionView.
Let\'s call a UItableView TV and a UICollectionVi
Here is an alternative:
The differences between DraggableCollectionView and LXReorderableCollectionViewFlowLayout are:
CADisplayLink
for smooth scrolling and animation.UICollectionViewDataSource
with methods similar to UITableViewDataSource
.It's a work in progress. Multiple sections are now supported.
To use it with a custom layout see DraggableCollectionViewFlowLayout
. Most of the logic exists in LSCollectionViewLayoutHelper
. There is also an example in CircleLayoutDemo showing how to make Apple's CircleLayout example from WWDC 2012 work.