Chapter 2
How the Table View Fits Together
In this chapter, you’re going to take a whistle-stop tour of table 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 later when you start to customize table views.
Along the way, you’ll look at the following:
- The types and styles of table views
- The anatomy and dimensions of table views
- UITableView’s relationship to the UIScrollView superclass
- Creation of table views in code and with Interface Builder
- Use of the UITableViewController class to take advantage of its template methods
Understanding Table Views
At its simplest, a table view is a list of items that can (often) be scrolled vertically. Because this ...
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.