Re: WeakCache?
Re: WeakCache?
- Subject: Re: WeakCache?
- From: petite_abeille <email@hidden>
- Date: Fri, 2 May 2003 11:17:42 +0200
On Friday, May 2, 2003, at 01:08 Europe/Zurich, Karl Goiser wrote:
Could you arrange for the cache(s) to not retain the objects, and
override the release method in the objects so that, when the count
goes to zero, it would send a notification...
Yes. This is exactly what's going on.
This would disconnect the upwards dependency from the object to the
collection.
Well... not quiet... one way or another, the object still need to
explicitly notify its cache(s) on deallocation :(
Cheers,
PA.
_______________________________________________
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.