> On 22 Sep 2015, at 10:50, Marek Hrušovský <xhrus...@gmail.com> wrote: > > This is somewhat true. > I've just tested it with "NSQuitAlwaysKeepsWindows" and the restore delegate > is kicked when you quit app/launch app from the dock. However, it's not > called when you perform close on window (hit the red cross).
Yes, because NSQuitAlwaysKeepsWindows on, the system is restoring the app’s _windows_ effectively. That those windows are backed by a document is sort of a side-effect of the process. So it’s storing state for the app as a whole, not trying to store state for the document. _______________________________________________ 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