• 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
NSUndoManager issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSUndoManager issues


  • Subject: NSUndoManager issues
  • From: Scott Squires <email@hidden>
  • Date: Mon, 14 Dec 2009 18:02:57 -0800

I'm having an odd problem with multiple levels of undo/redo.

Same basic setup for a number of routines, however certain types of routines seem to be automatically be grouped.
prepareWithInvocationTarget is used for all of these.


I have some image processing routines that are on another thread and undo objects are created.

When these are done in a series by the user (several minutes apart) and an undo is preformed then one by one they are invoked from just one undo request. The inverse is true for redo. The non-threaded items work as expected. if a non-threaded item is done after a threaded item then it all works correctly.

Is there a reason for this and how do I make sure each undo action from the user only causes one undo step to be preformed?


Thank you. _______________________________________________

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 issues
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Smooth Scrolling for NSScrollView
  • Next by Date: CGEventCreateMouseEvent - iPhone as remote control for Mac
  • Previous by thread: NSTableView, NSDateFormatter, CoreData
  • Next by thread: Re: NSUndoManager issues
  • Index(es):
    • Date
    • Thread