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

Re: NSUndoManager implementing Redo


  • Subject: Re: NSUndoManager implementing Redo
  • From: petite_abeille <email@hidden>
  • Date: Fri, 12 Jul 2002 13:31:42 +0200

On Friday, July 12, 2002, at 12:29 , Bill Cheeseman wrote:

Yes, you can specify different methods for undo and redo. In an object
deletion scenario, you petty much have to do it this way. For example, to
add an object to a table view, I use three methods:

Ummm... I'm a little bit confused about how one will go about doing such a thing?!?!? Care to elaborate?


The NSUndoManager provides only one method:

- (void)registerUndoWithTarget:(id)target selector:(SEL)selector object:(id)anObject;

There are no real difference between undu and redo. So, short of messing around with beginUndoGrouping/endUndoGrouping and/or multiple NSUndoManager, what are you talking about exactly?

Am I missing something obvious?

Thanks.

PA.
_______________________________________________
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: Greg Hulands <email@hidden>
References: 
 >Re: NSUndoManager implementing Redo (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: NSTextField not scrolling
  • Next by Date: Re: NSUndoManager implementing Redo
  • Previous by thread: Re: NSUndoManager implementing Redo
  • Next by thread: Re: NSUndoManager implementing Redo
  • Index(es):
    • Date
    • Thread