Creating Undo Manager on fly
Creating Undo Manager on fly
- Subject: Creating Undo Manager on fly
- From: Steve Sheets <email@hidden>
- Date: Fri, 8 Nov 2002 14:42:25 -0500
Does anyone have example of creating an UndoManager on the fly?
Normally, most people use the Undo Manager for a specific window or
document (created by AppKit) by calling a Responder's undoManager call.
This call for windows and documents creates an UndoManager object.
However, if you are creating a windowless application, a NSResponder
undoManger will not create an undoManager. I tried to simply
allocate/init one with [[NSUndoManager alloca] init]; but that did not
seem to be enough.
Any ideas or examples?
Steve Sheets
_______________________________________________
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.