re: NSUndoManager f@*#ing up Core Data database
re: NSUndoManager f@*#ing up Core Data database
- Subject: re: NSUndoManager f@*#ing up Core Data database
- From: Ben Trumbull <email@hidden>
- Date: Wed, 8 Oct 2008 13:23:21 -0700
Ruotger,
This has less to do with the undo manager itself, and more to do with
event coalescing. You can set the undo manager for the MOC to nil,
but this problem will happen elsewhere later, like -save: or -
executeFetchRequest: or when you call -processPendingChanges
yourself. This code is following the delete rules in your model for a
deleted object to cascade the necessary relationship maintenance
throughout the graph.
- Ben
_______________________________________________
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