Getting Started with Custom UICollectionView Layouts


You already know how to set up a UITableView and UICollectionView. You’ve used UICollectionView’s flow layout to death, and now you’re ready to take the next step. Custom UICollectionView layouts are the most powerful tool for making your app’s data look exactly how it should. In this post, I’ll run through the steps needed to make the simplest possible layout.