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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com