mattasks
asked on
iPhone - Using UITableView to display table data with multiple columns
What is the best way to display some data in a table type format on the iPhone?
I have 3 columns and lots of rows.
Should I create a custom UITableViewCell with 3 'columns' in it?
How should I display the column titles?
Thanks,
Matt
I have 3 columns and lots of rows.
Should I create a custom UITableViewCell with 3 'columns' in it?
How should I display the column titles?
Thanks,
Matt
ASKER
Hi pgnatyuk,
Yes, as my question title indicates, I'm using UITableView. But UITableView consisted of single columns only (one UITableViewCell per row).
I'm asking specifically about whether I should I go to the level of UITableViewCell to create custom details (ie multiple columns).
The links you provided are trivial tutorials for creating simple tables. I'm asking a bit more in depth than that.
Yes, as my question title indicates, I'm using UITableView. But UITableView consisted of single columns only (one UITableViewCell per row).
I'm asking specifically about whether I should I go to the level of UITableViewCell to create custom details (ie multiple columns).
The links you provided are trivial tutorials for creating simple tables. I'm asking a bit more in depth than that.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great, that's what I'm wanting to do. Thanks for the links.
I think, this is a very simple tutorial for a beginning:
iPhone Programming Tutorial – UITableView Hello World
http://icodeblog.com/2008/07/26/iphone-programming-tutorial-hello-world/
http://www.codeproject.com/KB/iPhone/UITableView_Hello_World.aspx
You can add columns in the interface Builder.
Then here you will find a set of tutorials:
http://adeem.me/blog/2009/05/19/iphone-programming-tutorial-part-1-uitableview-using-nsarray/