Re: applicationWillTerminate and NSDocumentController
Re: applicationWillTerminate and NSDocumentController
- Subject: Re: applicationWillTerminate and NSDocumentController
- From: Martin Wierschin <email@hidden>
- Date: Tue, 31 Jul 2007 15:18:06 -0700
How can I get a list of open documents at quit and/or get it before
NSDocumentController does whatever magic it's doing to get to the
quit event before me?
I think you should be able to override "terminate:" in an
NSApplication subclass. Simply capture the document state before you
pass terminate to super.
~Martin
_______________________________________________
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