Re: ARC and Manual Memory Management
Re: ARC and Manual Memory Management
- Subject: Re: ARC and Manual Memory Management
- From: Jens Alfke <email@hidden>
- Date: Mon, 10 Aug 2015 10:17:59 -0700
> On Aug 10, 2015, at 8:35 AM, Dave <email@hidden> wrote:
>
> That’s fair enough, I was wondering if there was any deep reason. The thing is I have library classes that I use in older projects that are non-ARC, I was trying avoid having two sets of more or less identical files.
Just add the compiler flag “-fno-objc-arc” for the source files that don’t use ARC.
(Go to the target’s Build Phases setting tab, open up Compile Sources, then double-click on in that source file’s row underneath the “Compiler Flags” column.)
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden