首页 > 其他 > 详细

How can I disable ARC for a single file in a project?

时间:2015-07-16 09:34:27      阅读:220      评论:0      收藏:0      [点我收藏+]

It is possible to disable ARC for individual files by adding the -fno-objc-arc compiler flag for those files.
You add compiler flags in Targets -> Build Phases -> Compile Sources. You have to double click on the right column of the row under Compiler Flags. You can also add it to multiple files by holding the cmd button to select the files and then pressing enter to bring up the flag edit box.

How can I disable ARC for a single file in a project?

原文:http://www.cnblogs.com/qike/p/4650260.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!