• 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
CoreData Undo in Modal Dialog (SOLVED)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData Undo in Modal Dialog (SOLVED)


  • Subject: CoreData Undo in Modal Dialog (SOLVED)
  • From: Keith Wilson <email@hidden>
  • Date: Sat, 30 Sep 2006 02:20:30 +1000

Sorry to trouble you yesterday

I have solved the problem by creating a nested undo group for the moc undoManager during init of the modal dialog. Was a bit confusing because if nothing in the undo stack for the current runloop then the CoreData undoManager creates a double nesting (I assume the top one is for run loop and another for my beginUndoGrouping.

Seems to work fine.
Keith


_______________________________________________ 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
  • Prev by Date: Re: cursor control fun
  • Next by Date: Re: Custom binding problem...can't figure out how to trigger a notification on set
  • Previous by thread: Re: Setting custom view background image via NSImageView
  • Next by thread: Re: NSimage leaking memory or probably just me
  • Index(es):
    • Date
    • Thread