NSDictionary 到 NSArray
NSDictionary *myDictionary = [[NSDictionary alloc] initWithObjectsAndKeys:@"value1", @"key1", @"value2", @"key2", nil];
NSArray *copiedArray = myDictionary.copy;
获取密钥:
NSArray *keys = [myDictionary allKeys];
获取价值:
NSArray *values = [myDictionary allValues];