結果として、次のものが必要です。
(
"some_key" = {
"another_key" = "another_value";
};
);
そうするために、私はこのコードを持っていますが、うまくいきません:
NSDictionary *dictionary = [[NSDictionary alloc] initWithObjectsAndKeys:@"another_value", @"another_key", nil];
NSMutableArray *array = [[NSMutableArray alloc] init];
[array setValue:dictionary forKey:@"some_key"];
何か案が?ありがとう!