There are a few aspects to handling spacing and size of UICollectionViews and their cells. Lets start with the spacing around the actual uicollectionview. To do this we effectively add padding or edge insets. You can add edges to all sides of the collection view.
myCollectionView.contentInset = UIEdgeInsets(top: 7.0, left: 1.0, bottom: 144.0, right: 1.0)
Now what about the cells within the UICollectionView. We can set […]