Re: subclass overwriting superclass ivar
Re: subclass overwriting superclass ivar
- Subject: Re: subclass overwriting superclass ivar
- From: vincent habchi <email@hidden>
- Date: Wed, 26 May 2010 21:04:55 +0200
Jens,
> I think you’re confusing an inaccessible variable with an unused variable. Those are very different concepts. For example, NSView’s _frame instance variable is inaccessible from any subclass, but the variable is of course a crucial part of the view’s state and is accessed by lots of methods in NSView itself.
Okay, thanks for this and your enlightening further comments. I've never touched Ruby, but I feel all right with Python :)
At the same time, I remember having this kind of weird behavior (I mean, one variable unexpectedly written) when that variable has been (unexpectedly) released, and its space is reused by some other variable.
Vincent_______________________________________________
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