Re: Grouping undo-able actions with CoreData
Re: Grouping undo-able actions with CoreData
- Subject: Re: Grouping undo-able actions with CoreData
- From: Rick Ballard <email@hidden>
- Date: Wed, 25 May 2005 15:23:17 -0700
On May 24, 2005, at 3:10 PM, John Timmer wrote: There's sections of my code that create a large number of managed objects at once, and set many of their values following creation. From the user's perspective, however, this is all in response to a single action (an "OK" in a dialog). I'd like to group the entire complex set of actions as a single undo operation.
This should happen for you without any need for you to manually create undo groupings or invoke -[NSManagedObjectContext processPendingChanges], assuming that all the creation and value setting happens within one event loop. Was this not the behavior you saw when you tried it?
- Rick Ballard |
_______________________________________________
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