I created a project without ARC
. I want to use a third party SDK in my project. That SDK
comes with ARC
Support. So I want to add ARC
for that third party files. I can disable ARC
for all "MYProject"
files by adding this flag into build phases like -fno-objc-arc
.
But I may use large number of files. So it's better to add ARC
for specific SDK
only. So how to add ARC support for single or specific SDK
files in XCode
Project?
For Instance: I want to use Grid View. I'm adding GMGridView
in my project and it comes with ARC
support.
Add the flag -fobjc-arc
to the files that you'd like to use ARC. It's just the opposite of the other.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With