• 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: 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.

References: 
 >Re: WeakCache? (From: Karl Goiser <email@hidden>)

  • Prev by Date: Buttons in custom views
  • Next by Date: Connector & IBPalette
  • Previous by thread: Re: WeakCache?
  • Next by thread: Dictionary Enumerator - partial/wildcard seaches?
  • Index(es):
    • Date
    • Thread