Hi,
You can show a list of the keys in the dictionary like this :
for (id key in [myDictionary allKeys])
NSLog(@"Key : %@ => value : %@", key, [myDictionary objectForKey:key]);
so, for your dictionary this would show
ab => Air Bus
787 => Boeng 787
sp => Some Plane
I'm assuming that you want to show all the values in a table so you will want something like this :
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
// Get a cell
...
// Get the data to display for this cell
int index = [indexPath indexAtPosition:1];
NSString *key = [[d allKeys] objectAtIndex:index];
NSString *value = [d objectForKey:key];
[[cell textLabel] setText:value];
return cell;
}