DEV Community

Cover image for CoverFlow
Steven Parker
Steven Parker

Posted on


Swipe animation like tinder using collection view

CustomFlowLayout Controller is subclass of UICollectionViewFlowLayout with the custom animation and layout.


  1. Add native UICollectionView to the your view controller Xib.

  2. Create your custom Collectionview cell.

  3. Register your custom collection view cell in your View controller.

  4. Set Custom Layout Flow of Collection view and alloc in your ViewController viewDidLoad() method and Explain in details Point 2 below.

Want to know how we made this adding Like and Dislike functionality on swipe left and right? Simple check out code here: CoverFlow

Top comments (0)