for(id key in stats) {
NSLog(@"key=%@ value=%@", key, [stats objectForKey:key]);
}
I have a dictionary of arrays, and each of these arrays has a number of arrays itself. Its a multidimensional array in a dictionary.
However the above code gives me the following
2012-11-30 21:36:07.203 key=main cat c value=(
"<Food: 0x6e5fb70>"
)
2012-11-30 21:36:07.205 key=main cat b value=(
"<Food: 0x6e5fa00>",
"<Food: 0x6e5faa0>"
)
2012-11-30 21:36:07.207 key=bakery_products value=(
"<Food: 0x6e5f510>",
"<Food: 0x6e5f660>",
"<Food: 0x6e5f700>",
"<Food: 0x6e5f810>",
"<Food: 0x6e5f900>",
"<Food: 0x6e5d5d0>"
)
How can I access the values in those arrays that are being displayed as Food 0x6e5fb70 ?
I’ve literally been at it for hours now and cannot find a solution.
Something like this perhaps:
Update (for Ploto’s 2nd comment):
Do you mean this:
Update #2 for
description: