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

crash with move item from section1 to section2, #103

Open CYZZ opened 8 years ago

CYZZ commented 8 years ago

can you show demo with move item from setion1 to section2 ,and when didselected in section1 cell move cell to section2,or dissected section2 cell move item from section2 to section1;THX

Aozorany commented 7 years ago

If you don't need to move cell between sections, you can just add if (newIndexPath.section != previousIndexPath.section) { return; } in - (void)invalidateLayoutIfNecessary