Created
March 20, 2014 11:52
-
-
Save Adnan1990/9662110 to your computer and use it in GitHub Desktop.
Adding or Removing ARC from Single File
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| If you want to exclude a file from being compiled with ARC you can do so by setting a flag on the .m file: | |
| Click the Project -> Build Phases Tab -> Compile Sources Section -> Double Click on the file name | |
| Then add -fno-objc-arc to the popup window. | |
| Likewise, if you want to include a file in ARC, you can use the -fobjc-arc flag. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment