摘要: NSMutableDictionary *dic = [NSMutableDictionary dictionary];//创建一个NSMutableDictionary类型的空字典; NSMutableDictionary *dic1 = [NSMutableDictionary dictiona... 阅读全文
posted @ 2015-04-07 22:15 #零下一度& 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 键与值一一对应,键不能重复;值可以重复;1.NSDictionary的创建:(字典的内容是无序的,不能进行排序)NSDictionary *dic = [NSDictionary dictionary];//创建一个空字典 NSDictionary *dic1 = [NSDictionary dic... 阅读全文
posted @ 2015-04-07 18:13 #零下一度& 阅读(716) 评论(0) 推荐(0) 编辑