I need to check if an dict has a key or not. How?
16 Answers
objectForKey
will return nil if a key doesn’t exist.
I need to check if an dict has a key or not. How?
objectForKey
will return nil if a key doesn’t exist.