lxcid / LXReorderableCollectionViewFlowLayout

Extends `UICollectionViewFlowLayout` to support reordering of cells. Similar to long press and pan on books in iBook.

Home Page:http://lxcid.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

crash with move item from section1 to section2,

CYZZ opened this issue · comments

commented

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

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