I have one NSDictionary and one NSMutableArray And I want store many object from NSDictionary into NSMutableArray from one key but I dont know about it.
this is my code :
//NSArray * a = [[NSArray alloc]initWithObjects:@"1",@"2",@"3",@"4",@"7",@"9", nil];
//NSArray *b = [[NSArray alloc]initWithObjects:@"1",@"2",@"3",@"4",@"5",@"0", nil];
NSDictionary * dic = [NSDictionary dictionaryWithObjectsAndKeys:a,@"number1",b,@"number2", nil];
NSMutableArray *array = [NSMutableArray alloc].... ?
I want store object in number1 key from NSDictionary in NSMutableArray
[array addObject:dic[@"number1"]];?