On Jun 12, 2008, at 1:31 PM, Jean-Daniel Dupas wrote:
This is mainly to prevent this kind of issue:
NSString *foo = [myObject foo];
[myObject setFoo:nil]; // setter release the foo ivar => foo is no
longer pointing on a valid memory location.
I hadn't thought of this case.
Thanks for the pointer to the docs -- I now see there is a
vulnerability in the accessors I've been writing.
--Andy
_______________________________________________
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 [EMAIL PROTECTED]