On May 7, 2010, at 4:25 PM, Barry Wark wrote:
> Yes! That's the ticket. I hadn't realized that the runtime still
> provided non-fragile ivar support even when you explicitly declared
> the ivar. Leave it to the runtime guru. Thanks, Greg.

That's right. On iPhone OS devices and 64-bit Mac, all ivars are non-fragile. 
No exceptions[1]. Auto-synthesized property ivars are intended to shorten your 
code, and provide one way to move ivars out of header files for better 
encapsulation. (Other ways to keep ivars out of header files are in the works, 
for cases that are too simple or too complex to use synthesized properties.)

[1] Exception: isa. It still needs to be at offset zero.


-- 
Greg Parker     gpar...@apple.com     Runtime Wrangler


_______________________________________________

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