To, for example, access variables in a NSDictionary Cocoa frameworks often define keys, such as UIKeyboardBoundsUserInfoKey. How can I check if a k
NSDictionary
UIKeyboardBoundsUserInfoKey
Check it's pointer against nil, like this
if (&UIKeyboardBoundsUserInfoKey != nil) { //Key exists }