• 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: subclass overwriting superclass ivar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: subclass overwriting superclass ivar
      • From: Jens Alfke <email@hidden>
References: 
 >subclass overwriting superclass ivar (From: "email@hidden" <email@hidden>)
 >Re: subclass overwriting superclass ivar (From: vincent habchi <email@hidden>)
 >Re: subclass overwriting superclass ivar (From: Graham Cox <email@hidden>)
 >Re: subclass overwriting superclass ivar (From: vincent habchi <email@hidden>)
 >Re: subclass overwriting superclass ivar (From: Graham Cox <email@hidden>)
 >Re: subclass overwriting superclass ivar (From: vincent habchi <email@hidden>)
 >Re: subclass overwriting superclass ivar (From: Jens Alfke <email@hidden>)

  • Prev by Date: Question about popover being dismissed clicking outside it
  • Next by Date: Re: Question about popover being dismissed clicking outside it
  • Previous by thread: Re: subclass overwriting superclass ivar
  • Next by thread: Re: subclass overwriting superclass ivar
  • Index(es):
    • Date
    • Thread