On 14/10/2009, at 10:38 AM, Greg Parker wrote:

On 32-bit Mac, if you strip ivars from the header then other code cannot subclass that class. The compiler will put subclass and superclass ivars in the same place, leading to exciting data corruption bugs.

All system frameworks are honest about their ivars, because they need to support subclasses.



Yes, that makes perfect sense. I guess I was assuming that you would only be using a class 'as is', not subclassing it.

--Graham


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to