Thursday 10 April 2014

Disable ARC for a Single file in a project in iOS

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.

xcode

No comments:

Post a Comment