NSArray的4种遍历方式

前言:NSArray对应的是java的List,不一样的是其元素不能更改,不过其派生类NSMutableArray能够更改,遍历的方式跟java的List基本同样java 一.  for循环spa Student *stu = [Student student]; NSArray *array = [NSArray arrayWithObjects:stu, @"1",@"2",nil]; int
相关文章
相关标签/搜索