现有如下集合,能准确删除“1”的代码是:()
NSMutableDictionary * peoples= [NSMutableDictionary dictionaryWithObjectsAndKeys:@"1",@"2",@"3",@"4",@"5",@"6", nil]
NSMutableDictionary * peoples= [NSMutableDictionary dictionaryWithObjectsAndKeys:@"1",@"2",@"3",@"4",@"5",@"6", nil]
[peoples removeObjectForKey:@"2"];
[peoples removeObject:@"1"];
[peoples removeObjectAtIndex:0];
[peoples removeAllObjects];
这道题你会答吗?花几分钟告诉大家答案吧!