13. Adding Table Cells

You’ve filled the game-list view with everything but. . .a list of games. In this chapter, you’ll hook up the game table, produce a custom view for the table cells, and pick up some techniques along the way.

The Game Table

The master-detail project template provided the root-controller class that became PasserListController. That was a subclass of UITableViewController. It was preconnected to its table, and was provided with an NSFetchedResultsController that needed little modification to deliver Passers to the table.

GameListController is not a table-view controller; it’s just a UIViewController for a view that happens to include a table. Table-view controllers are already connected to their tables; you’ll have to do ...

Get Xcode 6 Start to Finish: iOS and OS X Development, Second Edition 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.