Re: app terminate and window closing
Re: app terminate and window closing
- Subject: Re: app terminate and window closing
- From: Andreas Mayer <email@hidden>
- Date: Fri, 18 Oct 2002 17:16:21 +0200
Am Freitag, 18.10.02 um 17:01 Uhr schrieb Scot Gellock:
Should I be subclassing NSDocumentController, since its the default app
delegate, have the subclass implement applicationShouldTerminate,
which in
turn loops through the documents array, calling performClose on each
document's window controller?
It's probably cleaner (and easier) for each document to register for a
NSApplicationWillTerminateNotification.
The application related notifications are listed in the documentation
for NSApplication.
Now, I guess I'll have to check what I'm doing in my own code ... :}
bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.