Re: WeakCache?
Re: WeakCache?
- Subject: Re: WeakCache?
- From: Philippe Mougin <email@hidden>
- Date: Thu, 1 May 2003 15:06:16 +0200
You will have to make sure your object won't be referenced by multiple
weak caches at the same time.
Phil.
>> What about a cache which retains its objects as usual, but
periodically
>> checks their retain counts and release them when there's only one
>> reference left?
>
> I like that :-) Simple and it doesn't create any dependencies.
>
> Thanks.
>
> 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.