DEV Community

loading...
Cover image for CoverFlow

CoverFlow

connectsteven profile image Steven Parker ・1 min read

Swipe animation like tinder using collection view

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

Usage

  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

Discussion (0)

pic
Editor guide