Stepping thru a plist to get at info

Posted by cannyboy on Stack Overflow See other posts from Stack Overflow or by cannyboy
Published on 2010-05-18T15:10:00Z Indexed on 2010/05/18 15:41 UTC
Read the original article Hit count: 234

Filed under:
|
|
|

If I've got a plist set up like this

Key           Type         Value
Root          Array
 Item 0       Dictionary  
 -Title       String       Part One
 -Description String       Welcome to part one. Have fun
 Item 1       Dictionary  
 -Title       String       Part Two
 -Description String       Welcome to part two. Fun too.
 Item 2       Dictionary  
 -Title       String       Part Three
 -Description String       Welcome to part three. It's free
 Item 3       Dictionary  
 -Title       String       Part Four
 -Description String       It's part four. No more

How would I step thru to put all the titles in one array, and all the descriptions into another?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c