Chapter 12. Adding Table Cells
In This Chapter
• Building a stand-alone table
• Using schemes
• Exploring stand-alone XIBs
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 table of Passers
used the NSFetchedResultsController
provided by Xcode in its template code for a UITableViewController
subclass. 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; for GameListController
you’ll have to do the connecting yourself.
The first thing to do ...
Get Xcode® 4 Unleashed, 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.