Undo Action Message
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