• 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: Undo Action Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Undo Action Message (From: Richard Somers <email@hidden>)

  • Prev by Date: Core Data Versioning: Non-trivial Value Expressions?
  • Next by Date: custom view as a menu item
  • Previous by thread: Undo Action Message
  • Next by thread: Core Data Versioning: Non-trivial Value Expressions?
  • Index(es):
    • Date
    • Thread