I need to check if an dict has a key or not. How?

16 Answers
16

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

Leave a Reply

Your email address will not be published. Required fields are marked *