• 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
Where does the undo manager come from?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Where does the undo manager come from?


  • Subject: Where does the undo manager come from?
  • From: Graham Cox <email@hidden>
  • Date: Thu, 19 Jun 2008 16:42:11 +1000

In a non-document based app, I can get the undo manager from any view, which appears to be inherited from NSResponder. The docs for that say: "NSResponder’s implementation simply passes this message to the next responder." But NSApplication, which I think is the next responder, doesn't have a public -undoManager of its own, again only what it inherits from NSResponder.

So my question is: in a non-document app, does a view's undo manager come from the app? If not, where from? and finally, is there a way to set the undo manager to some subclass of my own (easy in a document- based app, not so obvious here).

tia,

cheers, Graham_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Where does the undo manager come from?
      • From: mmalc Crawford <email@hidden>
  • Prev by Date: Tab-based ("document"-based?) application
  • Next by Date: getting free space available in a drive
  • Previous by thread: Re: Tab-based ("document"-based?) application
  • Next by thread: Re: Where does the undo manager come from?
  • Index(es):
    • Date
    • Thread