ra1028 / RAReorderableLayout

A UICollectionView layout whitch can move item with drag and drop.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

canMoveToIndexPath returns false but item is still moved.

ethan-fang opened this issue · comments

canMoveToIndexPath has no effect

self.delegate?.collectionView?(self.collectionView!, atIndexPath: atIndexPath!, canMoveToIndexPath: toIndexPath!)

Should return here

I fixed it.

If this is fixed, the issue should be closed.