• 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: NSUndoManager f@*#ing up Core Data database
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSUndoManager f@*#ing up Core Data database
      • From: Ruotger Skupin <email@hidden>
  • Prev by Date: Re: NSUndoManager f@*#ing up Core Data database
  • Next by Date: re: refreshObject doesn't seem to work
  • Previous by thread: Re: NSUndoManager f@*#ing up Core Data database
  • Next by thread: Re: NSUndoManager f@*#ing up Core Data database
  • Index(es):
    • Date
    • Thread