Re: Undo Action Message
Re: Undo Action Message
- Subject: Re: Undo Action Message
- From: Richard Somers <email@hidden>
- Date: Mon, 3 May 2010 20:00:41 -0600
On May 3, 2010, at 7:25 PM, Richard Somers wrote:
How does the 'undo:' action message actually get to the managed
object context instance's 'undo' method?
Just found the answer to my own question in the documentation.
NSResponder does some behind the scenes message sending using more
than just the 'undo:' action message.
"When the first responder of an application receives an undo or redo
message, NSResponder goes up the responder chain looking for a next
responder that returns an NSUndoManager object from undoManager."
http://developer.apple.com/mac/library/documentation/cocoa/conceptual/UndoArchitecture/Articles/UsingUndoAppKit.html
--Richard
_______________________________________________
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