值得注意的小细节
2016-04-09 21:15
162 查看
发现@”“和nil不是一个含义
isKindOfClass和isMemberOfClass的区别
isKindOfClass:
Returns a Boolean value that indicates whether the receiver is an instance of given class or an instance of any class that inherits from that class.
isMemberOfClass:
Returns a Boolean value that indicates whether the receiver is an instance of a given class.
也就是isKindOfClass的范围更大
isKindOfClass和isMemberOfClass的区别
isKindOfClass:
Returns a Boolean value that indicates whether the receiver is an instance of given class or an instance of any class that inherits from that class.
isMemberOfClass:
Returns a Boolean value that indicates whether the receiver is an instance of a given class.
也就是isKindOfClass的范围更大
相关文章推荐
- hdoj-1859-最小长方形
- JNI - Call Method(Callback Call java methods from c)
- 设计模式之状态模式
- C#中常用容器的使用与底层数据结构
- HDU 2104 hide handkerchief
- request.getParameter() 和request.getAttribute() 区别
- SpringMVC 理论与有用技术(一) 简单、有用、易懂的几个实例
- PHP-007(转)
- Java Socket实现WebSocket服务器
- SSO系列之——同域下单点登录系统介绍
- java基础知识整理(2)
- 用全排列方法解决N皇后问题(Leetcode 51)
- Android 之EditText自动检索Listview中的数据
- 算法初探——归并排序
- 认识Shiro框架
- 关于eclipce添加离线adt 和sdk
- Hive学习路线图--张丹老师
- 使用clipboard.js复制页面内容到剪切板
- 图说js中的this——深入理解javascript中this指针
- hdu 4152 ZZY’s Dilemma【DFS】