Tag: NSDictionary
if ([[dictionary allKeys] containsObject:key) { //キーが存在 }
id value = [dictionary objectForKey:key]; if (value != nil) { //キーが存在 }