nsarray 类定义的方法
1. makeObjectsPerformSelector:@select(aMethod)
简介:让数组中的每个元素 都调用 aMethod
2. makeObjectsPerformSelector:@select(aMethod)
withObject:oneObject
简介:让数组中的每个元素 都调用 aMethod 并把 withObject 后边的 oneObject 对象做为参数传给方法aMethod
本文介绍了NSArray类中的两个实用方法:makeObjectsPerformSelector:@selector(aMethod) 和 makeObjectsPerformSelector:@selector(aMethod) withObject:oneObject。前者能够让数组中的每个元素调用指定的方法aMethod,后者则在调用的同时传递一个额外的对象作为参数。
nsarray 类定义的方法
1. makeObjectsPerformSelector:@select(aMethod)
简介:让数组中的每个元素 都调用 aMethod
2. makeObjectsPerformSelector:@select(aMethod)
withObject:oneObject
简介:让数组中的每个元素 都调用 aMethod 并把 withObject 后边的 oneObject 对象做为参数传给方法aMethod
3228

被折叠的 条评论
为什么被折叠?