Components
Grouped content that is navigated horizontally.
CarouselLayout
is our custom subclass of UICollectionViewFlowLayout
that facilitates creation of single line carousels
See UICollectionViewFlowLayout
CarouselLayout
can be used to lay out a collection view
import Thumbprint/* ... */let carouselLayout = CarouselLayout()let collectionView = UICollectionView(frame: .zero, collectionViewLayout: carouselLayout)// Properties can be modified just like a regular UICollectionViewFlowLayoutcarouselLayout.sectionInset.bottom = Space.threecarouselLayout.sectionInset.left = Space.fourcarouselLayout.sectionInset.right = Space.four