Re: self release
Re: self release
- Subject: Re: self release
- From: Christopher Corbell <email@hidden>
- Date: Mon, 12 May 2003 09:57:31 -0700
I think you'd want to [self autorelease]?
That way the object won't actually be freed in the calling scope.
On Monday, May 12, 2003, at 09:31 AM, Wolfgang Ante wrote:
I have a straight forward question for the Objective-C experts here:
Is it OK to "[self release]"?
I know I am allowed to "delete this" in C++ (as long as I do not
access member variables anymore), but I am not shure about Objective-C
and "[self release]".
I have written a small test application that does this without
problems, but I thought before I base my design on this I'd better ask
the experts!
Bye, Wolfgang :-)
_______________________________________________
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.
_______________________________________________
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.
References: | |
| >self release (From: Wolfgang Ante <email@hidden>) |