Re: iOS allows ivars in class extension but Mac OS doesn't?!
Re: iOS allows ivars in class extension but Mac OS doesn't?!
- Subject: Re: iOS allows ivars in class extension but Mac OS doesn't?!
- From: Jens Alfke <email@hidden>
- Date: Tue, 07 Feb 2012 15:04:05 -0800
On Feb 7, 2012, at 7:41 AM, Fritz Anderson wrote: I have had no trouble with instance variables in class extensions, for Mac 64-bit, 10.7 SDK, targeting 10.6. ARC is on (which, yes, means a lot of unsafe_unretained).
Apparently the compiler only allows it if the target is set to build 64-bit *only*. If you allow both 32 and 64, even the 64-bit compile will fail. I can see that this is a useful error, but it’s kind of unexpected.
—Jens |
_______________________________________________
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