• 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
CoreData: get/set methods in undo and flushing of caches
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData: get/set methods in undo and flushing of caches


  • Subject: CoreData: get/set methods in undo and flushing of caches
  • From: Frank Illenberger <email@hidden>
  • Date: Thu, 23 Jun 2005 15:08:40 +0200

Hi,

today I noticed, that the get and set methods in a subclass of NSManagedObject are only called when I directly enter a value from the bound NSTextField. They are not called again when I press the undo button to restore earlier values. The problem now is: When the set methods are called, they flush a certain cache that is connected to the attribute. When the method is not called during an undo, I am not able to correctly flush my cache. What would be the best pratice to deal with this? Does every object of this class has to observe itself to get a clue when to flush the cache?

Cheers

 Frank

_______________________________________________
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


  • Follow-Ups:
    • Re: CoreData: get/set methods in undo and flushing of caches
      • From: mmalcolm crawford <email@hidden>
    • Re: CoreData: get/set methods in undo and flushing of caches
      • From: John Timmer <email@hidden>
  • Prev by Date: Re: NSTabView problem under Tiger
  • Next by Date: Re: Changing drag-on selection highlight in NSTableView/NSOutlineView
  • Previous by thread: Re: NSTreeController search
  • Next by thread: Re: CoreData: get/set methods in undo and flushing of caches
  • Index(es):
    • Date
    • Thread