• 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: NSString Class Instance Variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString Class Instance Variables


  • Subject: Re: NSString Class Instance Variables
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 13 Oct 2009 16:35:16 -0700


On Oct 13, 2009, at 4:29 PM, Graham Cox wrote:

Apart from the class cluster answer you already got, the public headers don't need to include any instance variables even if they exist in reality.

Only if the class cannot be subclassed.

In the 32-bit runtime, instance variable offsets are determined at compile time based on the total size of superclass data, so if the compiler doesn't know all of the superclass instance variables, it'll generate incorrect code. (The 64-bit runtime doesn't have this limitation.)

—Jens

_______________________________________________

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


References: 
 >NSString Class Instance Variables (From: Richard Somers <email@hidden>)
 >Re: NSString Class Instance Variables (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: arrayWithContentsOfFile
  • Next by Date: Re: NSString Class Instance Variables
  • Previous by thread: Re: NSString Class Instance Variables
  • Next by thread: Re: NSString Class Instance Variables
  • Index(es):
    • Date
    • Thread