I have a pList in which I have 5 Dictionary items. I’m trying to read this dictionaries to array
NSString *plistPath =
[[NSBundle mainBundle] pathForResource:@"pListName" ofType:@"plist"];
NSArray *myArray = [NSArray dictionaryWithContentsOfFile:plistPath];
NSLog(@"%d", myArray.count);
But “myArray” all the time empty… What I do wrong ? Thanks in advance…
should be:
and
should be
[myArray count](As Joe mentioned)