How to check if an NSDictionary or NSMutableDictionary contains a key?

objectForKey will return nil if a key doesn’t exist.

Leave a Comment