• 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: Custom NSView and NSUndoManager SOLVED
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom NSView and NSUndoManager SOLVED


  • Subject: Re: Custom NSView and NSUndoManager SOLVED
  • From: "John C. Randolph" <email@hidden>
  • Date: Sat, 12 Nov 2005 01:54:01 -0800


On Nov 10, 2005, at 3:37 PM, Benjamin Dunton wrote:

I figured out my problem. Just incase someone else comes along who does not quite understand the NSResponder, a brief explanation:

The NSResponder handles events and actions for objects, normally the window or views. In the case of NSUndoManager, whenever anything is added to the undo stack the responder chain is traversed looking for the first responder that can handle the undo: action.

Ben, I wouldn't put it quite that way. What you've written above implies that there's only one NSResponder. In fact, NSResponder is a class from which both NSWindow and NSView are descendants. Views, Windows, and the Application instance itself, are responders themselves; they don't have a responder handling events for them.


-jcr

John C. Randolph <email@hidden> (408) 914-0013
Roaming Cocoa Engineer,
Available for your projects at great Expense and Inconvenience.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Custom NSView and NSUndoManager (From: Benjamin Dunton <email@hidden>)
 >Re: Custom NSView and NSUndoManager (From: Jim Correia <email@hidden>)
 >Re: Custom NSView and NSUndoManager (From: Benjamin Dunton <email@hidden>)
 >Re: Custom NSView and NSUndoManager (From: Jim Correia <email@hidden>)
 >Re: Custom NSView and NSUndoManager SOLVED (From: Benjamin Dunton <email@hidden>)

  • Prev by Date: Re: Self-Updating Bundle
  • Next by Date: Linking error with C++ framework and GCC 4.0.1
  • Previous by thread: Re: Custom NSView and NSUndoManager SOLVED
  • Next by thread: Re: Re: Custom NSView and NSUndoManager
  • Index(es):
    • Date
    • Thread