Re: Use of weak reference in non-circular reference situation
Re: Use of weak reference in non-circular reference situation
- Subject: Re: Use of weak reference in non-circular reference situation
- From: "John C. Randolph" <email@hidden>
- Date: Wed, 31 May 2006 04:52:26 -0700
On May 31, 2006, at 3:14 AM, Eric wrote:
Since aArray is not
deallocated until Object A is deallocated,
It's not clear why "aArray" should know or care whether A is
deallocated. The usual semantics are that an NSArray retains its
contents, and releases them when they're removed or the array itself
is deallocated. Whether anything else has retained A shouldn't
matter to "aArray" at all.
-jcr
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden