makeObjectsPerformSelector 方法的用法

来源:互联网 发布:北京sem优化师薛东生 编辑:程序博客网 时间:2024/05/17 02:39

nsarray 类定义的方法

1.  makeObjectsPerformSelector:@select(aMethod)

简介:让数组中的每个元素 都调用 aMethod 

2. makeObjectsPerformSelector:@select(aMethod)

                     withObject:oneObject

简介:让数组中的每个元素 都调用 aMethod  并把 withObject 后边的 oneObject 对象做为参数传给方法aMethod

0 0
原创粉丝点击