I want to bring a single Objective-C class written using ARC into an old project. The internet provides many references for how to enable ARC for your project and then disab
Add the -fobjc-arc flag to any files for which you'd like to enable ARC, as described in the ARC documentation.
-fobjc-arc
Select Target > Build Phases > Compile Source > Select Your class > Double Click> Type
Target > Build Phases > Compile Source > Select Your class > Double Click
-fobjc-arc in dialog box
Enter.