慎用dictionaryWithObjectsAndKeys方法
2010-12-17 15:44 乱世文章 阅读(476) 评论(0) 编辑 收藏 举报
有这样一段代码:
NSDictionary* items2=[NSDictionary dictionaryWithObjectsAndKeys:
[d objectForKey:@"GZDBH"],@"工作单编号",
[d objectForKey:@"LDSJ"],@"来电时间",
[d objectForKey:@"SLWCSJ"],@"受理完成时间",
[d objectForKey:@"SLR"],@"受理人",
[d objectForKey:@"ZJHM"],@"主叫号码",
[d objectForKey:@"LXR"],@"联系人",
[d objectForKey:@"LXDH"],@"联系电话",
[d objectForKey:@"BXDZ"],@"报修地址",
[d objectForKey:@"CLLX"],@"故障类型",
[d objectForKey:@"JRLX"],@"接入类型",
[d objectForKey:@"CLQY"],@"处理区域",
[d objectForKey:@"FWJB"],@"服务级别",
[d objectForKey:@"JJCD"],@"紧急程度",
[d objectForKey:@"YXFW"],@"影响范围",
[d objectForKey:@"QKMS"],@"受理情况",
nil];