Re: Converting to Arc → undeclared identifier
Re: Converting to Arc → undeclared identifier
- Subject: Re: Converting to Arc → undeclared identifier
- From: Alex Zavatone <email@hidden>
- Date: Tue, 20 Aug 2013 15:37:54 +0000 (GMT)
Actually, I think the question is "what version of Xcode are you upgrading the project from and what version of Xcode are you using to do the conversion?"
That way, it's much easier to pin down the specific case that might be causing this.
- Alex Zavatone
On Aug 20, 2013, at 10:57 AM, glenn andreas <email@hidden> wrote:
On Aug 20, 2013, at 8:43 AM, Gerriet M. Denkmann <email@hidden> wrote:
On 20 Aug 2013, at 20:27, Fritz Anderson <email@hidden> wrote:
Sure, but the whole point the OP is trying to make is that the purported error is being raised by the refactoring process that is _supposed to remove that retain_. Refactoring would be a very easy process indeed if doing the conversion yourself is a prerequisite of having Xcode do it.
The use of the _ivar should work ― did work as far as the production compiler knew.
Is the code the OP posted the whole context? Has he tried to convert that minimal example, and gotten the same error? Has he examined the preprocessed code (and then searched for the no-underscore name of the @property) to see if anything suggests itself?
Created a new project (not document based) removed arc in build settings, modified the AppDelegate thus:
What version of Xcode? I just tried this with Xcode 4.6.3 and it worked perfectly.
_______________________________________________
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
_______________________________________________
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