Chapter    15

Collection View Flow Layouts

In this chapter, you’ll look at one of the most useful components of the UICollectionView family, the flow layout. The flow layout allows you to build collection views containing rows or columns of items with very little effort, but also provides some fine-grained control over various attributes to allow you to fine tune its appearance.

The sample application code for this chapter implements a flow-based layout to illustrate many of its features and to provide a template that you can adapt for your own purposes.

About Flow Layouts

A layout consisting of rows or columns of items is a very common user interface design. It’s a staple of apps ranging from galleries to bookshelves. Some examples are shown ...

Get Pro iOS Table Views and Collection Views: Using Swift 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.