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 […]
Day: November 28, 2011
SIGABRT – unrecognized selector sent to instance
I received an SOS from a mate asking to see why his $1,000,000 app making idea was crashing at the first hurdle. Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[MyAnnotation objectForKey:]: unrecognized selector sent […]