PDA

View Full Version : UITableView




KoenigReinhold
Jul 6, 2010, 08:10 AM
Hi all

Im trying to create a simple iPhone application which will present a user with a list of options. Once the user selects an option it will present the user with information.

I believe I need to use a UITableView but I'm relatively new to this code and I'm not sure how to implement it in my application.



robbieduncan
Jul 6, 2010, 08:12 AM
Apple provide many samples to help you. SimpleDrillDown (https://developer.apple.com/iphone/library/samplecode/SimpleDrillDown/Introduction/Intro.html) is one of them that you may find helpful.

adrian.oconnor
Jul 6, 2010, 04:48 PM
Also there are a lot of really good training videos out there that will help you a lot. This iTunes U content (http://deimos3.apple.com/WebObjects/Core.woa/Feed/itunes.stanford.edu.3124430053.03124430055) might be useful, and don't forget the free sessions from this year's WWDC.

In direct answer to your question, you'd typically have a Navigation View Controller and two Table View Controllers (one for the list, one for the detail, or maybe one table view and one plain-old view).

robj
Jul 7, 2010, 02:16 AM
This is one of the typical applications in iPhone.

The documentation in the apple website is quite great. You can start by reading this guide: http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/TableView_iPhone/AboutTableViewsiPhone/AboutTableViewsiPhone.html#//apple_ref/doc/uid/TP40007451

It helped me in many ways :)

ethical
Jul 7, 2010, 03:33 AM
If you can't grasp it from the Apple documentation then take a look at Beginning iPhone 3 Development (http://www.amazon.co.uk/Beginning-iPhone-Development-Exploring-SDK/dp/1430224592). That's what I use, and they explain exactly what you're wanting to do very well.

KoenigReinhold
Jul 7, 2010, 09:39 AM
Thanks a bunch everyone!