uicollectionviewios8.2

how to implement GestureRecognizers LXReorderableCollectionViewFlowLayout?


I'm using a LXReorderableCollectionViewFlowLayout library. I had implement the required methods of the delegate, but one of methods called collectionView:canMoveItemAtIndexPath: is not called.

and i want to know how gesture methods are being called?


Solution

  • Seems this library is deprecated. You can use DraggableCollectionView

    which is written by the same developer/team and easy to implement. It serves the same purpose.

    Make sure you have added draggable key of type boolean to YES in run time attributes of collection view. enter image description here

    and you have added DraggableView delegate to your interface for example.enter image description here