• 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: iOS allows ivars in class extension but Mac OS doesn't?!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >iOS allows ivars in class extension but Mac OS doesn't?! (From: Jens Alfke <email@hidden>)
 >Re: iOS allows ivars in class extension but Mac OS doesn't?! (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Xcode and Mapnik
  • Next by Date: Re: Xcode and Mapnik
  • Previous by thread: Re: iOS allows ivars in class extension but Mac OS doesn't?!
  • Next by thread: Two problems building 32/64 framework for Lion/ARC
  • Index(es):
    • Date
    • Thread