How to disable ARC on file by file basis

When importing old files, into your new iOs 7 project, you can go through and alter the file to remove all release, retain, autorelease to make it ARC compliant, or you can set ARC of on those particular files. The switch -fno-objc-arc disable ARC, and you administer it by going to Build Phases, clicking on each file, and add it as a flag, just as in the picture below.DisableARConiOsIphoneiPadSDK

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>