PDA

View Full Version : Help with putting Plist data into TableView




cordoprod
Nov 16, 2009, 09:39 AM
Hi.
I am working on a little project that I can use as a karatecoach.
In the first View it's a table view which displays the following:
- Yellow Belt
- Orange Belt
- Green Belt
... and so on.

You can click the tableview items and then it will appear a new view.
It's here I'm stuck. In this view I want the data from Plist to appear in a TableView. I want to group the tableview in these sections:
- Requirements, Stances, Blocks, Hand techniques, foot techniques, kata and kumite.

All that will come from a Pensum.plist.
Here is the structure:
http://bildr.no/view/526728

But how do I start? Just ask if you you don't understand me correctly.



Luke Redpath
Nov 16, 2009, 10:10 AM
I assume you've read the documentation for UITableViewController etc? If so, what part are you getting stuck with? Reading data from a plist? Take a look at the documentation for NSDictionary to find out how to read in data from a plist.

cordoprod
Nov 16, 2009, 10:13 AM
I'm stuck with adding the data from Plist. The NSDictionary stuff.

I've seen tutorials, on it, but only for very simple structures. I don't know how do get the data from my structure.

Does anyone know?