When the user enters or exits Versions, there are notifications sent out called NSWindowWillEnterVersionBrowserNotification, NSWindowDidEnterVersionBrowserNotification, etc. (see NSWindow.h)
You will know when a user chooses Restore, because the NSDocument instance will be sent -revertToContentsOfURL:ofType:error: (once the version's contents are written in place over the existing file). [kevin perry]; On Jun 25, 2012, at 1:44 PM, qvacua <qva...@gmail.com> wrote: > Hi, > > are there notifications or delegate methods of NSDocument (or > NSDocumentController) which are called when the user invokes Versions > and/or restores a version of a document? > > Thanks in advance and best, > Tae > _______________________________________________ > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/kperry%40apple.com > > This email sent to kpe...@apple.com _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com