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

Undo Action Message


  • Subject: Undo Action Message
  • From: Richard Somers <email@hidden>
  • Date: Mon, 3 May 2010 19:25:44 -0600

I have a core data document based application. The standard 'Undo' menu sends an 'undo:' action message to the first responder. The message is passed along the responder chain to the window's delegate which is an NSPersistentDocument instance and then apparently to the NSManagedObjectContext instance.

How does the 'undo:' action message actually get to the managed object context instance's 'undo' method?

NSPersistentDocument and NSDocument are in the responder chain but do not have an 'undo:' method.

NSManagedObjectContext is not in the responder chain but has an 'undo' method. However 'undo' is not the same as 'undo:'.

--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


  • Follow-Ups:
    • Re: Undo Action Message
      • From: Richard Somers <email@hidden>
  • Prev by Date: Re: My program causes MacBook Pro to use NVidia graphics processor
  • Next by Date: Core Data Versioning: Non-trivial Value Expressions?
  • Previous by thread: Re: Windows following the menubar in Cocoa
  • Next by thread: Re: Undo Action Message
  • Index(es):
    • Date
    • Thread