• 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: Another Core Data Ivar Setter and Undo Issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another Core Data Ivar Setter and Undo Issue


  • Subject: Re: Another Core Data Ivar Setter and Undo Issue
  • From: "Ian G. Gillespie" <email@hidden>
  • Date: Tue, 26 Jun 2007 22:57:46 -0400

I was hoping that when Core Data invokes undo that it would call the appropriate setter value for the property that changed. Is this the expected behavior of Core Data?

This is the expected behavior for Core Data. It's not setting your instance to a new state, it's rolling it back to a previous state.


In what kind of situation would you have a Department instance observing key paths on thousands of Employee instances?

Thanks for the reply. I used the Department --> Employee just as example, for my app I am dealing with things more like Account and Transaction entities, where an Account needs to update its balance when the amount property of a Transaction changes. My actual entities are a little different, but Account-->Transaction is a pretty good representative.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Another Core Data Ivar Setter and Undo Issue (From: "Ian G. Gillespie" <email@hidden>)
 >Re: Another Core Data Ivar Setter and Undo Issue (From: Chris Hanson <email@hidden>)

  • Prev by Date: [SOLVED] Re: AppleRemote Cocoa Class ( delegate issue )
  • Next by Date: Re: [OT] Don't draw every 10th sample(!) (Was Re: Best drawing technology for audio waveforms, envelopes, etc.?)
  • Previous by thread: Re: Another Core Data Ivar Setter and Undo Issue
  • Next by thread: Re: Another Core Data Ivar Setter and Undo Issue
  • Index(es):
    • Date
    • Thread