I thought it would be simpler to find if an object in on a dictionary, but it appears it is not.
I have a NSMutableDictionary with just one key named "products".
I have several products added to the dictionary dynamically, using something like
[myDict addObject:@"banana" forKey:@"products"];
[myDict addObject:@"orange" forKey:@"products"];
[myDict addObject:@"grapes" forKey:@"products"];
etc.
At some point I would like to know if, for example, banana is on the dictionary.
Is there a way to do that? I mean, just to know if an object is on the dictionary?
thanks for any help.