Re: Arc per file
Re: Arc per file
- Subject: Re: Arc per file
- From: Crispin Bennett <email@hidden>
- Date: Fri, 19 Oct 2012 15:01:41 +1000
On 19/10/2012, at 2:37 PM, Joar Wingfors wrote: You can compile individual source files as either ARC / MRR by passing the appropriate compiler flags per file. You can specify per-file compiler files in:
Project Editor > Target > Compile Phases > Compile Sources > Foo.m
Joar
Just to expand on this, you could try:
- in Compile Phases, select all except the file you wish to convert to ARC, and add the -fno-objc-arc flag - now convert your project to ARC.
The only further implication I know offhand would be that future files would use ARC unless you explicitly add -fno-objc-arc. But your current manually-managed files would be unchanged. |
_______________________________________________
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