结果,我需要以下内容:
(
"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"];
任何的想法?谢谢!