博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
respondsToSelector
阅读量:6901 次
发布时间:2019-06-27

本文共 426 字,大约阅读时间需要 1 分钟。

- (BOOL)respondsToSelector:(SEL)aSelector

    Returns a Boolean value that indicates whether the receiver implements or inherits a method that can respond to a specified message. (required)

Paraments:aSelector: A selector that identifies a message.

Return:YES if the receiver implements or inherits a method that can respond to aSelector, otherwise NO.

判断是否实现了方法。

http://www.cnblogs.com/chenjunbiao/archive/2011/04/21/2023196.html

你可能感兴趣的文章
布局模型
查看>>
我的友情链接
查看>>
jquery 实现复选框 全选/反选
查看>>
我的友情链接
查看>>
http://www.mossle.com/wiki/13.lemon-devguide/0008.modeler
查看>>
UI自动化测试之selenium(3)——采坑填坑集
查看>>
全美五大最创新的公司
查看>>
传微软将于明年推出Linux版Office
查看>>
后LHC时代对撞机:瞬间输出能量超全球电力千倍
查看>>
Leetcode#75Sort Colorsetcode
查看>>
3月30日作业
查看>>
公司电话突然不能打外线故障处理过程
查看>>
Windows Server 2008流媒体服务器---创建播放列表
查看>>
centos添加批量添加ip提示无效参数
查看>>
PHP mkdir函数
查看>>
Linux基础命令---检查密码文件pwck
查看>>
python这+=和=的拓展知识
查看>>
oracle集群件
查看>>
linux shell 中"2>&1"含义
查看>>
oracle 11g RAC grid安装前准备
查看>>