NSAutoreleasePool错误
来源:互联网 发布:js导出excel表格 编辑:程序博客网 时间:2024/06/06 02:17
照着电子书敲了一段代码,Run,报错:
'NSAutoreleasePool' is unavailable: not available in automatic reference counting mode
百度之后,发现原来是书太老,自己用的是xcode4.6。 按照高人的做法,打开工程属性-->Build settigns,找到:
Objective-C Automatic Reference Counting
原理这个值是YES,修改其为NO.
再次run,OK.
不过对 NSAutoreleasePool不甚了解,只是大概知道事引用计数的东东,记录两篇文章,以后再琢磨:
http://eleda.iteye.com/blog/1108700
http://blog.csdn.net/zltianhen/article/details/6599244
- NSAutoreleasePool错误
- NSAutoreleasepool
- NSAutoreleasePool
- NSAutoReleasePool
- NSAutoReleasePool
- NSAutoreleasePool
- NSAutoreleasePool
- NSAutoReleasePool
- NSAutoreleasePool
- NSAutoreleasePool是什么?
- NSAutoreleasePool 随笔
- NSAutoReleasePool 用法
- 转载NSAutoReleasePool
- IOS NSAutoreleasePool
- 危险的NSAutoreleasePool
- Objective-C 之NSAutoreleasePool
- NSAutoreleasePool自动释放池
- 关于NSAutoReleasePool的理解
- cocos2dx中的几个尺寸概念及相互映射
- Mybatis3.2.1使用例四:SqlSession方式集成Spring、不使用DAO辅助类
- Mybatis3.2.1使用例五:SqlSession方式集成Spring、使用DAO辅助类
- 10大最实用的Raspberry Pi扩展设备推荐
- 营收奇迹:三消游戏Candy Crush Saga成功启示录
- NSAutoreleasePool错误
- PreparedStatement 预编译原理 可防止SQL注入
- jQuery模拟QQ相册
- vc 错误:rcxdti.dll is unable to load rcxdtiui.dll修改
- swipejs例子
- ThinkPHP开始
- 今日Tp的初步开发流程
- SAP学习日志--RFC remote function call
- ThinkPHP 之 自定义模型、连贯操作要点