CollectionLayouts
This is a UICollectionViewLayout that reproduce the Instagram Stories experience, just use StoriesCollectionViewLayout in your UICollectionView and subclass your cells from StoriesCollectionViewCell!
Installation
Via cocoapods: pod 'StoriesLayout'