• 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: dealloc and instance variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dealloc and instance variables


  • Subject: Re: dealloc and instance variables
  • From: Graeme Mathieson <email@hidden>
  • Date: Sun, 23 Nov 2003 07:32:49 +0000

On 23 Nov 2003, at 07:00, Chris Ridd wrote:

They're both correct, and consistent with each other. NSObject only sends
release to any instance variable *it knows about*, which doesn't include
anything in a subclass.

Ah, see, that's the answer which actually makes sense. :-) Thanks. I'm off to revert some cvs commits now...

Yes, but only if the return value is a pointer to an object, in which case
you're guaranteed to get nil back. Search ObjC.pdf for "message to nil" :-)

Ah, excellent, thanks.
--
Mail, MSN Messenger & Jabber: mathie [at] endless [dot] org [dot] uk
AIM: MathieEndless, Blog: http://www.endless.org.uk/blog/
OpenPGP Fingerprint: 0F38 5000 999F 0644 76D6 968D A945 916E AD30 4A1A
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: dealloc and instance variables
      • From: "Louis C. Sacha" <email@hidden>
References: 
 >Re: dealloc and instance variables (From: Chris Ridd <email@hidden>)

  • Prev by Date: Re: dealloc and instance variables
  • Next by Date: Re: dealloc and instance variables
  • Previous by thread: Re: dealloc and instance variables
  • Next by thread: Re: dealloc and instance variables
  • Index(es):
    • Date
    • Thread