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

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