O'Reilly logo

The Complete Idiot's Guide® To iPad and iPhone App Development by Troy Brant

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

All Done

The Frenemies app was a fun opportunity to learn how table views work. After specifying the number of rows in the table, you created—and reused—the table cells in tableView:cellForRowAtIndexPath :. Displaying data in the table was neat, but you kicked it up a notch by making the rows selectable. You fixed the last nagging problem by deselecting the highlighted row after the profile view slid off to reveal to the frenemy table.
There is much, much more you can do with table views. To see what the table view API has to offer, I encourage you to check out Apple’s API documentation for UITableViewDataSource and UITableViewDelegate. Here are a few ways you can further customize table views:
• Subclass table cells to more directly customize ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required