@implementation NSString (NSStringDebug) -(void) objectForKey:(NSString*) str { assert(NO);
2015-11-10 10:08
453 查看
@implementation NSString (NSStringDebug) -(void) objectForKey:(NSString*) str { assert(NO); // 这里的assert(NO)是必须的,不允许该函数正常运行 } @end
将断点打在assert(NO)之前
控制台输入po str
相关文章推荐
- Objective-C学习—UIScrollView控件使用
- Objective-C中的instancetype和id区别
- vs2008+ObjectARX2010第一个ARX程序hello arx
- Java 中 Iterator<Object>使用
- ObjectStream的使用
- Android Studio报错:Unable to start the daemon process: could not reserve enough space for object heap
- Using Swift with Cocoa and Objective-C (Swift 2.1)
- Objective-C 中 +load 与 +initialize
- Objective-C @encode关键字
- Linq to object
- BING(Binarized Normed Gradients for Objectness )的一些分享
- Object—C基础第一课
- OC中的基本冒泡排序
- 禅与 Objective-C 编程艺术
- 浅谈 Objective-C 下对象的初始化
- objective-c Block 相关内容
- #ifdef __OBJC__宏定义的作用
- description方法是NSObject自带的方法,包括类方法和对象方法
- Objective-C文件结构
- c++中的对象引用(object reference)与对象指针的区别