• 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 in non-NSDocument Cocoa Applications: unable to change 'Undo' menu item name.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSUndoManager in non-NSDocument Cocoa Applications: unable to change 'Undo' menu item name.


  • Subject: Re: NSUndoManager in non-NSDocument Cocoa Applications: unable to change 'Undo' menu item name.
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 16 Jun 2004 16:17:48 -0600

On Jun 16, 2004, at 3:26 PM, Frederick C. Lee wrote:

However, I'm not using NSDocument in my appl so I have to create an
'undoManager' instance within the following paradigm:

Actually, you don't. Each responder has its own undo manager, so you can get the undo manager from the first responder or whatever object. Then you can interact with that undo manager, and if the object is the first responder, then you'll see the changes in the Edit menu.

My SafariCookieCutter program implements undo and is not document-based. You can download the app & source (included with the app) from here: <http://seiryu.home.comcast.net/scc.html>

Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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 in non-NSDocument Cocoa Applications: unable to change 'Undo' menu item name.
      • From: James DiPalma <email@hidden>
References: 
 >NSUndoManager in non-NSDocument Cocoa Applications: unable to change 'Undo' menu item name. (From: "Frederick C. Lee" <email@hidden>)

  • Prev by Date: Re: Online help question
  • Next by Date: Color of string with link attribute
  • Previous by thread: NSUndoManager in non-NSDocument Cocoa Applications: unable to change 'Undo' menu item name.
  • Next by thread: Re: NSUndoManager in non-NSDocument Cocoa Applications: unable to change 'Undo' menu item name.
  • Index(es):
    • Date
    • Thread