• 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: About iVars declaration and property
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About iVars declaration and property


  • Subject: Re: About iVars declaration and property
  • From: Torsten Curdt <email@hidden>
  • Date: Tue, 15 Nov 2011 19:34:00 +0100

> No it can't. @property only says "I have methods named -foo and -setFoo:". It implies absolutely nothing about storage.

How does

 @property (nonatomic, assign) IBOutlet NSWindow *window;

not have the information that there would need to be an ivar

 NSWindow *window;

on 32-bit?

>> FWIW I check on the llvm IRC channel and the response was "I wouldn't
>> be surprised if there are annoying edge cases, but offhand I don't see
>> any reason it couldn't be done."
>
> If it could've been done, they would have done it. The fragile base class problem is a well-understood aspect of language design, and the compiler team is full of smart people.

FWIW the guy was from Apple. Quoting more "as far as I know the
decision to tie omitted ivars to non-fragile ivars was more one of
available engineering time and source compatibility than one of
technical possibility"

cheers,
Torsten
_______________________________________________

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

  • Follow-Ups:
    • Re: About iVars declaration and property
      • From: Jens Alfke <email@hidden>
    • Re: About iVars declaration and property
      • From: David Duncan <email@hidden>
References: 
 >Re: About iVars declaration and property (From: Matt Neuburg <email@hidden>)
 >Re: About iVars declaration and property (From: Torsten Curdt <email@hidden>)
 >Re: About iVars declaration and property (From: glenn andreas <email@hidden>)
 >Re: About iVars declaration and property (From: Torsten Curdt <email@hidden>)
 >Re: About iVars declaration and property (From: Kyle Sluder <email@hidden>)
 >Re: About iVars declaration and property (From: Torsten Curdt <email@hidden>)
 >Re: About iVars declaration and property (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Saving doc loses NSTextView position/selection Re: Lion autosave...
  • Next by Date: Re: About iVars declaration and property
  • Previous by thread: Re: About iVars declaration and property
  • Next by thread: Re: About iVars declaration and property
  • Index(es):
    • Date
    • Thread