Top of the page
Close

This is a red error

This is a red error

This is a red error

Populating UITableView With An NSArray

Ondrej Rafaj on 2009.08.05 12:44:14

Really great tutorial by Brandon on http://icodeblog.com/. The goal of this tutorial is to show you how to populate a UITableView with data from an array of objects. This will be the building block to display XML data as well as SQL data.

The theme of this application will be fruit. We will create an array of “fruit” objects that have some additional information besides the name. We will populate a UITableView with the names of the fruits. When the user selects a fruit from the list, the view will transition to another one and display specific details about that fruit.

Brian is trying to be as detailed as possible however it would be useful if you have completed the following tutorials as I will use concepts from each of them:

http://icodeblog.com/2008/08/08/iphone-programming-tutorial-populating-uitableview-with-an-nsarray/

In this tutorial you will learn:

  • Create a Navigation-Based Application
  • Create a New Fruit Class Object
  • Create and Populate an NSArray
  • Add a New View To Your Project
  • Connect The View To Code
  • Populate A UITableView With Object Data
  • Transition To New Views And Show Data Based On The Row Selected

Ondrej Rafaj

Ondrej Rafaj

Technical director @ Fuerte International

Back to top Comment

Comments ... Why not to get involved!
HTML Comment Box is loading comments...

Old comments:

Back to top

IE SUCKS, DON'T USE IT :) Digg this page