O'Reilly logo

Beginning iPhone Development with Swift 2: Exploring the iOS SDK by Jeff LaMarche, Frederik Olsson, Jack Nutting, Kim Topley, David Mark

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    10

Collection View and Stack View

In this chapter, we’re going to look at a couple of powerful and flexible UIKit views that are concerned with layout: UICollectionView and UIStackView.

For years, iOS developers have used the UITableView component to create a huge variety of interfaces. With its ability to let you define multiple cell types, create them on the fly as needed, and handily scroll them vertically, UITableView has become a key component of thousands of apps. And Apple has truly given its table view class lots of API love over the years, adding new and better ways to supply it with content in each major new iOS release. However, it’s still not the ultimate solution for all large sets of data. If you want to present data ...

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