its because timeslots is under “Sunday, August 10, 2014” this dictionary. Its second layer. First retrieve “Sunday, August 10, 2014” dictionary then you will be able to access timeslot array.
Modify your for loop like below
for (NSDictionary *oneDay in data)
{
NSDictionary *dData = [oneDay objectForKey:@"Sunday, August 10, 2014"];
NSDictionary *tslots = [dData objectForKey:@"timeslots"];
NSLog(@"%@", tslots); // unrecognized selector sent to instance 0x9b63860
NSArray *keys = [tslots allKeys];
for (NSString *key in keys)
{
NSLog(@"%@ is %@",key, [oneDay objectForKey:key]);
}
[days addObject:oneDay];
}
6
solved Parse JSON with Objective-C