The pList Dilemma – xCode Gotcha
Why does the following code return no objects in the array. NSString *path = [[NSBundle mainBundle] pathForResource:@”stations” ofType:@”plist”]; NSMutableArray* anns = [[NSMutableArray alloc] initWithContentsOfFile:path]; Here is a screen shot from within Xcode at the pList editor. The problem stems from creating the pList directly in Xcode. Here we can see a text view of the … Read more