Re: NSUndoManager implementing Redo
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.