I am stuck in a stupid mess... I want to get not only the value of an array but also the index of the values. In PHP it\'s simple: foreach($array as $key->$
foreach($array as $key->$
I'm unable to test it, but I think I did do something similar the other night. From this wiki it looks like you can do something like
for(id key in d) { NSObject *obj = [d objectForKey:key]; // We use the (unique) key to access the (possibly non-unique) object. NSLog(@"%@", obj); }