我有两个数组,一个保存键值(myKeys),另一个保存 NSString 对象(myStrings)。我想使用两个数组来使用快速枚举填充单个 NSDictionary (myDictionary),但不知道如何?
for (NSNumber *key in myKeys) {
[self.myDictionary setObject @"here is where the value should go from the 'other' array forKey: key];
}
我将如何在此处考虑 NSArray 对象?