iOS - Add NSDictinary key values into an NSArray sequencialy
问题 I have a NSDictionary and a NSArray : self.dataDic = [[[NSDictionary alloc] init] autorelease]; self.dataDicKey = [[[NSArray alloc] init] autorelease]; These are the key and value of my NSDictionary : self.dataDic = @{@"Ring Cloud" :@[@"Contact Cloud", @"Image Cloud", @"Data Cloud"], @"Ring Tools" :@[@"Sticker Market", @"Live Poll", @"Mail"], @"Ring Apps" :@[@"Studio", @"Player"]}; Now what I want is to insert all the key value of my self.dataDic into self.dataDicKey sequentially. That means