zoukankan      html  css  js  c++  java
  • makeObjectsPerformSelector 方法的用法

    nsarray 类定义的方法

    1.  makeObjectsPerformSelector:@select(aMethod)

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

    2. makeObjectsPerformSelector:@select(aMethod)

                         withObject:oneObject

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

    [array makeObjectsPerformSelector:@selector(setRecurringDelegate:)

                                      withObject:self];/*将检测到的该自动插入的交易插入数据库*/

       

     
    [array makeObjectsPerformSelector:@selector(insertRecursion)]; /*将检测到的该自动插入的交易插入数据库*/
  • 相关阅读:
    TCP协议
    各相机品牌型号分类
    思科华为命令对比
    网工笔记(一)
    数学笔记
    word快捷键汇总
    请个假
    word笔记
    ScrollView不能到顶部的解决方法
    Gridview 显示成正方形
  • 原文地址:https://www.cnblogs.com/wzdevelop/p/7410210.html
Copyright © 2011-2022 走看看