数组、集合与字典
摘要:数组 NSArray 静态数组 (不可变)count 记录了当前元素里面的个数 objectAtIndex 对象的位置(索引) NSArray * array=@[@"1",@"2",@"32"]; NSLog(@"%ld",[array count]); //遍历数组 for (int i=0;
阅读全文
posted @ 2017-10-23 15:58
posted @ 2017-10-23 15:58
posted @ 2017-10-20 16:20
posted @ 2017-10-18 16:26