How to iterate over an dictionary without knowing the keys, while getting key and object?

Posted by dontWatchMyProfile on Stack Overflow See other posts from Stack Overflow or by dontWatchMyProfile
Published on 2010-06-17T19:26:28Z Indexed on 2010/06/17 19:33 UTC
Read the original article Hit count: 238

Filed under:
|
|

I have an NSDictionary and want to iterate over the objects. But at the same time, I need to know the key of the dictionary.

I remember there was a special, fancy form of fast enumeration, but have forgotten the exact syntax.

Anyone?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c