NSDictionary *state = [NSDictionary dictionaryWithObjectsAndKeys:@"Maryland",@"MD", @"Virgina",@"VA", @"Delaware",@"DE",nil]; [state enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) { NSLog(@"key = %@,object = %@",key,obj); }];