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

UITableViewDatasource

Your interface currently displays an empty, sad table view. To populate the table, you need to implement two UITableViewDatasource methods: tableView:numberOfRowsInSection: and tableView:cellForRowAtIndexPath:. You also need to tell the table view that your FrenemiesViewController class is both its data source and its delegate. Add the following code to populate the table:
342
Update the implementation file, too:
343
344
Some explanation ...

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