PDA

View Full Version : Simple iphone view question




welshguy
Jun 24, 2008, 06:28 PM
Evening Guys,

I'm quite new to the iphone SDK but slowly getting there, i have no idea how to do this though:

I want to display a information in a UITableView which contains a number of different columns, so e.g

Name | Type | Price | etc..
Prod A Wheel $40 ...

How do i actually split the tableView up like that? Can it be done? I understand i have to use a UITableViewCell however i dont understand how i get columns headings to appear?

When the user selects that product then a more indepth view is pushed to the screen which i know how to do.

I've been looking at the AtomicElement sample project but is there another which sets up a tableView like i need?

Cheers for any suggestions! I'm stuck :(



iphoneGuy
Jun 24, 2008, 07:11 PM
Take a look at the sample 5_CustomTableViewCell in the TableViewSuite samples.

welshguy
Jun 24, 2008, 08:17 PM
Take a look at the sample 5_CustomTableViewCell in the TableViewSuite samples.

Ok i'm i being really thick? I looked on the site:

http://developer.apple.com/iphone/library/navigation/SampleCode.html

and couldnt see anything? Do you happen to have the link handy?

Cheers again

iphoneGuy
Jun 24, 2008, 09:05 PM
Ok i'm i being really thick? I looked on the site:

http://developer.apple.com/iphone/library/navigation/SampleCode.html

and couldnt see anything? Do you happen to have the link handy?

Cheers again

http://developer.apple.com/iphone/library/samplecode/TableViewSuite/index.html