Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- iPhone Programming - complex JSON Parsing - UITableView
- {"1":{"1":"Ent1","done":"No"},"2":{"1":"Ent2","done":"No"}}
- for (NSString *key in dict)
- {
- NSString *answer = [dict objectForKey:@"1"];
- NSLog(@"%@", answer);
- }
- NSMutableArray *array = [[NSMutableArray alloc] initWithObjects: answer, nil];
- NSMutableArray *array = [[NSMutableArray alloc] init];
- for (NSString *key in dict)
- {
- NSString *answer = [dict objectForKey:key];
- [array addObject:answer];
- }
Add Comment
Please, Sign In to add comment