Re: : -awakeFromNib, application_releasing ...
Re: : -awakeFromNib, application_releasing ...
- Subject: Re: : -awakeFromNib, application_releasing ...
- From: James Quick <email@hidden>
- Date: Wed, 2 Jul 2003 16:14:06 -0400
Thanks for the correction. When I read the documentation, I was
dissuaded
from doing that. In the NSObject documentation for the - dealloc
method,
It states: "You never send a dealloc message directly."
One paragraph later the example shows something similar to yours, in
which [super dealloc] is the last action in an instance's dealloc.
I am glad you cleared that up for me. I'm sure that I soon would have
received an exception and wondered why.
On Wednesday, July 2, 2003, at 01:51 PM, p3consulting wrote:
>
Le mercredi, 2 juil 2003, ` 17:54 Europe/Brussels,
>
email@hidden a icrit :
>
>
> A typical dealloc
>
> - (void) dealloc
>
> {
>
> [myName release];
>
> [myArray release];
>
> [super release];
>
>
should be
>
[super dealloc];
>
>
Pascal Pochet
>
P3 Consulting
>
email@hidden
>
http://www.p3-consulting.net
>
_______________________________________________
>
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.