• 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
Creating Undo Manager on fly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: NSSound
  • Next by Date: AddressBook & phone multivalue
  • Previous by thread: [ANN] Open-source Plotting Framework
  • Next by thread: AddressBook & phone multivalue
  • Index(es):
    • Date
    • Thread