Swipe animation like tinder using collection view
CustomFlowLayout Controller is subclass of UICollectionViewFlowLayout with the custom animation and layout.
Usage
Add native UICollectionView to the your view controller Xib.
Create your custom Collectionview cell.
Register your custom collection view cell in your View controller.
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)