Re: simple array release error question
Re: simple array release error question
- Subject: Re: simple array release error question
- From: Ben Dougall <email@hidden>
- Date: Sun, 1 Jun 2003 00:41:43 +0100
On Sunday, June 1, 2003, at 12:32 am, sinclair44 wrote:
The first example does not suffer from this problem because the array
no
longer references the objects when you release it, because they are
removed
from the array's internal list when you call -removeAllObjects.
i see: with the second version, because the objects were released *via*
the array rather than behind it's back as it were, so therefore it
knows, hence no problem. ok, thanks-a-lot.
_______________________________________________
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.