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->$
Arrays not like in php are numbered 0-size of array. I guess you talking about dictionary's. If so you can get array of key with [dict allKeys].
so something like this should work:
for(id key in [dict allKeys]){
id value = [dict objectForKey:key];
}