Chapter 9. Creating Custom Table Views

One of the most common UIViewController subclasses you’ll use in your apps is the UITableViewController—used to display and manage information in a table view. The UITableViewController is so important that I’ve dedicated this entire chapter to teaching you how to customize this one class. Table views are designed to communicate long lists of information to users effectively and efficiently. When you look at the Mail app, Apple uses a table view to present the list of emails in your inbox. Also, when you look at the Settings app, a cell in a table view represents each preference or setting.

Table views are diverse. You can customize their appearance to look like anything from the SMS app to the Contacts ...

Get From Idea to App: Creating iOS UI, Animations, and Gestures 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.