Quote:
Originally Posted by Jonnebob
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.
|
I know you already have a working answer but I want to mention here that writing
Code:
for (NSString *entry in bookmarkDict)
absolutely does NOT only filter out NSString entries! It simply tells the compiler that you want to treat each item as an NSString. If the item in question actually isn't an NSString, horrible bad things can happen...