We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pod 'StoriesLayout'
This is a simple layout, just initialize your UICollectionView with the layout:
UICollectionView
let collectionView = UICollectionView(frame: frame, collectionViewLayout: StoriesCollectionViewLayout())
or set it in your xib:
Once done that, subclass your cells from StoriesCollectionViewCell:
StoriesCollectionViewCell
class MyStoriesCollectionViewCell: StoriesCollectionViewCell { }
And you are good to go, enjoy StoriesLayout!