Skip to main content

Collection Views

  • Chapter
  • First Online:
Beginning iPhone Development with Swift 3

Abstract

For years, iOS developers 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 became a key component of thousands of apps. While Apple has increased the capability of table views with every major new iOS release, it’s still not the ultimate solution for all large sets of data. If you want to present data in multiple columns, for example, you need to combine all the columns for each row of data into a single cell. There’s also no way to make a UITableView scroll its content horizontally. In general, much of the power of UITableView came with a particular trade-off: developers have no control of the overall layout of a table view. You define the look of each individual cell, but the cells are just going to be stacked on top of each other in one big scrolling list.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Molly Maskrey, Kim Topley, David Mark, Fredrik Olsson and Jeff Lamarche

About this chapter

Cite this chapter

Maskrey, M., Topley, K., Mark, D., Olsson, F., Lamarche, J. (2016). Collection Views. In: Beginning iPhone Development with Swift 3. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2223-2_10

Download citation

Publish with us

Policies and ethics