似乎存储在字典中的对象是原始对象的副本!这么奇怪 !!
在下面的代码中,
myData = [NSMutableDictionary dictionaryWithObjects:[NSArray arrayWithObjects:myEntries, preambule, nil]
forKeys:[NSArray arrayWithObjects:@"myEntries", @"preambule", nil]];
NSMutableArray * myEntriesDico = [myData objectForKey:@"myEntries"] ;
NSLog(@"!!!!!!!!! Address of myEntries (in the le dict) : %p", &myEntriesDico);
NSLog(@"!!!!!!!!! Address of myEntries : %p", &myEntries);
我有两个不同的地址!
有谁知道发生了什么?