Re: Another Core Data Ivar Setter and Undo Issue
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