Help with putting Plist data into TableView

Discussion in 'iOS Programming' started by cordoprod, Nov 16, 2009.

  1. cordoprod
    Expand Collapse
    macrumors newbie

    Nov 16, 2009
    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:

    But how do I start? Just ask if you you don't understand me correctly.
  2. Luke Redpath
    Expand Collapse
    macrumors 6502a

    Nov 9, 2007
    Colchester, UK
    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.
  3. cordoprod
    Expand Collapse
    thread starter macrumors newbie

    Nov 16, 2009
    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?

Share This Page