NSDocumentController overriding NSApp delegate?
NSDocumentController overriding NSApp delegate?
- Subject: NSDocumentController overriding NSApp delegate?
- From: Fredrik Olsson <email@hidden>
- Date: Fri, 07 Jul 2006 16:53:56 +0200
I have set the applications delegate in both my MainMenu.nib and in code
at awakeFromNib.
But my delegate methods does not get called. I want to have my own
applicationShouldTerminate: to replace the review changes alert with my
own. But alas, applicationShouldTerminate: nor
applicationShouldTerminateAfterLastWindowClosed: is ever called.
Is my hunch that NSDocumentController apply some magic valid? And if so,
how do I prevent it?
// Fredrik Olsson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden