To disable ARC for specific classes, select the project name in
Xcode and select the Build Phases tab:
Expand the Compile Sources section then select the files representing the classes that
you want to disable ARC. Press the Enter key and then enter the following
statement in the pop-up window:
-fno-objc-arc
Press Enter and that’s it! The
selected files will now compile without ARC.
No comments:
Post a Comment