O'Reilly logo

Pro iOS Table Views and Collection Views: Using Swift 2 by Tim Duckett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required