SafeDK
Sign upAdd Your SDK

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

Main Features

- Long press on cell to invoke reordering capability.

- When reordering capability is invoked, fade the selected cell from highlighted to normal state.

- Drag around the selected cell to move it to the desired location, the other cells adjust accordingly. Callback in the form of delegate methods are invoked.

- Drag selected cell to the edges, depending on scroll direction, scroll in the desired direction.

- Release to stop reordering.

SDK for Apple

  • Removed setUpGestureRecognizersOnCollectionView 
  • Removed layout from delegate methods (can be accessed from collectionView) 
  • Renamed delegate methods and split between dataSource and delegate 
  • Added dataSource and delegate examples to sample project

Documentation

Example A

Similar SDKs

MORE

Reviews

Rate Now
0
0
0
0
0
0

Start a new discussion about LXReorderableCollectionViewFlowLayout

×
0
/1000
Login