• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ARC and Manual Memory Management
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >ARC and Manual Memory Management (From: Dave <email@hidden>)
 >Re: ARC and Manual Memory Management (From: Roland King <email@hidden>)
 >Re: ARC and Manual Memory Management (From: Dave <email@hidden>)

  • Prev by Date: OS X Sharing Extension?
  • Next by Date: Re: Xcode Debugger Shows Incorrect Variable Information
  • Previous by thread: Re: ARC and Manual Memory Management
  • Next by thread: Re: ARC and Manual Memory Management
  • Index(es):
    • Date
    • Thread