`
xumingrencai
  • 浏览: 1182481 次
文章分类
社区版块
存档分类
最新评论

关于 ARC forbids explicit message send of 'release'

 
阅读更多

转载自:http://stackoverflow.com/questions/7164848/arc-error-when-compiling

Simply remove all calls to-release. You're not allowed to call-releaseunder ARC because the compiler will insert all the necessaryretain/releasecalls for you. Read more about ARChere.

The other way is to use the conversion tool, and Xcode can convert your project to ARC (including removing these calls) for you:

To disable ARC entirely, change your build settings:

However I'd recommend you start using ARC, it will make things a lot easier and actually faster too.


分享到:
评论

相关推荐

    C++学习与应用 程序设计

    好好看看,很But what, to serve our private ends, Forbids the cheating of our friends? Charles Churchill Instead of this absurd division into sexes they ought to class people as static and dynamic. ...

    串口调试程序

    串口调试程序

    java实现算法

    java实现各种算法,与大家分享

    pja_2.5.zip

    It is also impossible to compute off-screen images when the Java security manager forbids access to any Toolkit or the AWT library. In that case you can although create an instance of ...

    matlab视网膜图像分割代码-Chap_1:第1章

    forbids > 25MB file)发布进行评估,注意训练新模型会删除相应的文件夹) 其他基线代码 计算环境 112GB 内存 Ubuntu 14.04 依赖关系 数据集 杜克大学 Sina Farsiu 教授团队慷慨解囊 结果 用法 训练模型 >> run(main...

Global site tag (gtag.js) - Google Analytics