• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WeakCache?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Prev by Date: Re: Large view to NSBitmapImageRep
  • Next by Date: Re: How dangerous is +load?
  • Previous by thread: Re: Toolbar and custom views
  • Next by thread: Re: WeakCache?
  • Index(es):
    • Date
    • Thread