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 protected])

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 [email protected]

Reply via email to