Re: Undo manager
Re: Undo manager
- Subject: Re: Undo manager
- From: Robert Clair <email@hidden>
- Date: Tue, 15 Mar 2005 18:42:36 -0500
You need to:
1) allocate your own undoManger
2) hold onto it in some central place in your application
3) make sure this is the undoManager returned by [myWindow undoManager];
you accomplish #3 by reading up on and implementing the NSWindow delegate method:
<x-tad-smaller>- (</x-tad-smaller><x-tad-smaller>NSUndoManager</x-tad-smaller><x-tad-smaller> *)windowWillReturnUndoManager:(NSWindow *)</x-tad-smaller><x-tad-smaller>sender
....Bob Clair
</x-tad-smaller> _______________________________________________
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