已采纳回答 / 791956776
对象方法:[[NSDictionary alloc] init];静态方法:[NSDictionary dictionary];字面量:@{};这个静态方法只是对对象方法的一层封装,字面量是用语法糖的简写。NSArray,NSString等都是一样的
2015-10-11
最新回答 / 慕少1329861
你把新建的xml名字改成不是原来的那个,然后再MainActivity里面的R.layout.__也改成那个你定的名字就OK了pqnkzdouasegpzupicrfulrdmctsid
人将毫无悬念地大获全胜。基本
消费用户来源:北京青年报黄齐超连日来,各大
员许智峰被拘捕,至今已有8名
度)发生5.2级地震,
2015-10-11
//枚举器
NSEnumerator *enumerator;
enumerator = [array1 objectEnumerator];
id thing;
while (thing = [enumerator nextObject]) {
NSLog(@"%@",thing);
}
NSEnumerator *enumerator;
enumerator = [array1 objectEnumerator];
id thing;
while (thing = [enumerator nextObject]) {
NSLog(@"%@",thing);
}
2015-09-10