Chapter 4
How The Collection View Fits Together
In this chapter, you’re going to take a whistle-stop tour of collection views and the elements from which they’re built. Although this chapter does not present a lot of code, it will provide a useful foundation for when you start to customize collection views.
Along the way, you’ll look at the following:
- The anatomy and dimensions of collection views
- UICollectionView’s relationship to the UIScrollView superclass
- How to create collection views in code and with Interface Builder
- Use of the UICollectionViewController class to take advantage of its template methods
What Are Collection Views?
A collection view provides a way of managing and displaying an ordered set of data items with customizable ...
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.