Re: dealloc and instance variables
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.