NSMutableDictionary *dic1 = [[NSMutableDictionary alloc] initWithObjectsAndKeys:@"1",@"one",@"2",@"two", nil];

    NSDictionary *dic2 = [[NSDictionary alloc] initWithObjectsAndKeys:@"3",@"three",@"4",@"four", nil];

    

    [dic1 addEntriesFromDictionary:dic2];




***결과

{

    four = 4;

    one = 1;

    three = 3;

    two = 2;

}

Posted by tenn
,