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

NSUndoManager implementing Redo


  • Subject: NSUndoManager implementing Redo
  • From: Greg Hulands <email@hidden>
  • Date: Fri, 12 Jul 2002 09:41:01 +1000

Hi,
I am trying to add Undo and Redo in an application and am having trouble
trying to implement redo. I have a mutable array that holds a data object.
When I register for the undo I give it a selector of undoAddData: which is
fine. The undo gets called but when I try redo neither the original method
that was called where the undo was registered, nor the undoAddData: method
are called.

Which method should get called when performing a redo? Can I give the undo
manager a different method?

Any help or insight is greatly appreciate.

Regards,
Greg
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSUndoManager implementing Redo
      • From: Bill Cheeseman <email@hidden>
    • Re: NSUndoManager implementing Redo
      • From: petite_abeille <email@hidden>
  • Prev by Date: NSModulePathForClass?
  • Next by Date: Re: NSUndoManager implementing Redo
  • Previous by thread: Re: NSModulePathForClass?
  • Next by thread: Re: NSUndoManager implementing Redo
  • Index(es):
    • Date
    • Thread