Skip to Main Content
iOS UICollectionView: The Complete Guide, Second Edition
book

iOS UICollectionView: The Complete Guide, Second Edition

by Ash Furrow
February 2014
Intermediate to advanced content levelIntermediate to advanced
191 pages
4h 13m
English
Addison-Wesley Professional
Content preview from iOS UICollectionView: The Complete Guide, Second Edition

4. Organizing Content with UICollectionViewFlowLayout

You now have the skills to use UICollectionView to display custom content to your users and can display cells as well as supplementary views. Up until now, we have focused on the actual content, not how it’s organized on the screen. This chapter explores how UICollectionView is architected to use UICollectionViewLayout to organize its content. We take a close look at UICollectionViewFlowLayout and how subclassing it can get you a lot of customizability without a lot of extra work. We finish with a short history lesson as we explore UITableView and how it’s related to UICollectionView.

What Is a Layout?

UICollectionViewLayout is an abstract class that should not be created itself; its only ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

iOS UICollectionView: The Complete Guide

iOS UICollectionView: The Complete Guide

Ash Furrow

Publisher Resources

ISBN: 9780133762631