Thanks for all your replies.
I think part of my problem was that I was coming from java/php background I wasn't used to defining the type of element in the enumerator.
FlyingDiver: changing to id, causes two different warnings.
"invalid reciever type 'id*'"
"passing argument 1 of 'objectForKey:' from incompatible pointer type".
Using NSString in the enumerator doesnt produce any warnings. I think this must be because the the NSDictionary enumerator is looping through the keys which it knows are strings.
|