• 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
Preference Pane and Undo Manager
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Preference Pane and Undo Manager


  • Subject: Preference Pane and Undo Manager
  • From: Joe Howard <email@hidden>
  • Date: Wed, 13 Feb 2002 12:16:39 -0800

In my app, I have implemented an NSUndoManager and everything is working beautifully. I also have a preference pane version of the app which is working except for undo. I create a undo manager in my subclass of NSPreferencePane and when I add an operation to the undo stack, the undo manager does exist. However, I can't undo the operation. I've even implemented - (NSUndoManager *)undoManager in this object. I believe that the problem is that something is supposed to get put in the responder chain but I don't know what goes in the chain, which chain, or how to add it to the chain. (Do I add my subclass of NSPreferencePane to System Preferences window (or my interface window?) using a method that I'm not finding?) Is there an undo manager in the System Preferences app that I can get ahold of?

This is all done for me when creating a normal app, but I'm lost now since I haven't really done much with the responder and is a little foreign to me. If someone could help me out, that'd be swell.

Joe Howard
_______________________________________________
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: How to change default font for NSTextView?
  • Next by Date: Re: about help
  • Previous by thread: Directory Services vs. NSL
  • Next by thread: Sockets documentation?
  • Index(es):
    • Date
    • Thread