views:

27

answers:

0

Hi Guys, I'm trying to create an array out of the information inside a plist. My plist's root is of type array and inside this array is many dictionaries of data.

Here is what I've been trying to do so far:

 //SET UP ARRAY OF PAGES
 NSString *path = [[NSBundle mainBundle] bundlePath];
 NSString *finalPath = [path stringByAppendingPathComponent:@"pages.plist"];
 pages = [[NSMutableArray arrayWithContentsOfFile:finalPath] retain];

Unfortunately the pages Mutable Array contains nothing after this. It's all initialised properly, Just can't fill it :(

Cheers for any help you can give