• 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 per file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Arc per file


  • Subject: Re: Arc per file
  • From: Crispin Bennett <email@hidden>
  • Date: Fri, 19 Oct 2012 17:23:18 +1000


On 19/10/2012, at 5:11 PM, Crispin Bennett wrote:

On 19/10/2012, at 4:55 PM, Gerriet M. Denkmann wrote:
This is a clever idea, but it does not work.

When I tried  Xcode → Edit → Refactor → Convert to Objectiv-C ARC  I was informed that one of the files with the -fno-objc-arc flag uses autorelease, which is unavailable in ARC mode.
"Xcode found 3 issues that prevent conversion from proceeding.  Fix all ARC readiness issues and try again."



I've just had another look at the Convert to ARC wizard (hadn't actually used it before). The 'Select Targets to Convert' screen actually allows you to expand the targets and de/select the implementation files to include in the conversion. That should allow you to do what you want.

Cheers,
CB.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Arc per file (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Arc per file (From: Joar Wingfors <email@hidden>)
 >Re: Arc per file (From: Crispin Bennett <email@hidden>)
 >Re: Arc per file (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Arc per file (From: Crispin Bennett <email@hidden>)

  • Prev by Date: Re: Arc per file
  • Next by Date: Word selection boundaries
  • Previous by thread: Re: Arc per file
  • Next by thread: Re: Arc per file
  • Index(es):
    • Date
    • Thread