Using non-ARC Classes with ARC Projects
You want to import Classes into your ARC compatible Project which are not made for ARC?
Well, it's pretty easy to solve that problem.
Just go to
YourProject->YourTarget->Build Phases->Compile Sources
and select the non-ARC files. Hit ENTER to edit the Compiler flags.
Type:
-fno-objc-arc
and you're done! Hope this helps :)
Written by Lars Schwegmann
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Xcode
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#