:star: Custom card-designed CollectionView layout
CardsLayout is a lightweight Collection Layout.
You can use CocoaPods to install CardsLayout
by adding it to your Podfile
:
platform :ios, '9.0'
use_frameworks!
pod 'CardsLayout'
import CardsLayout
CardsCollectionViewLayout
file to your projectcollectionView
: collectionView.collectionViewLayout = CardsCollectionViewLayout()
collectionView.isPagingEnabled = true
collectionView.showsHorizontalScrollIndicator = false