fannheyward
fannheyward

Reputation: 19267

How to enable ARC for a file in Non-ARC project?

I know you can use -fno-objc-arc flag to disable ARC for files that NOT support ARC in an ARC project.

Is there any way to enable ARC for files support ARC in a Non-ARC project?

Thanks!

Upvotes: 31

Views: 6020

Answers (1)

Noah Witherspoon
Noah Witherspoon

Reputation: 57149

Yup: add the -fobjc-arc flag the same way.

Upvotes: 62

Related Questions