Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to force xcode to use ARC on a specific file?

My project contains XMPPFramework which contains a file that has to be used with ARC. But my project is Non ARC and cannot be converted due to certain other libraries linked to it.

How do I force the compiler to use ARC only on a certain class ?

like image 713
Maduranga E Avatar asked Nov 15 '12 06:11

Maduranga E


1 Answers

It is the inverse problem of this question. The difference is that you would use -fobjc-arc instead of -fno-objc-arc.

like image 142
justin Avatar answered Nov 06 '22 17:11

justin