Re: applicationShouldTerminateAfterLastWindowClosed
Re: applicationShouldTerminateAfterLastWindowClosed
- Subject: Re: applicationShouldTerminateAfterLastWindowClosed
- From: Andreas Mayer <email@hidden>
- Date: Thu, 12 Feb 2004 02:48:51 +0100
Am 11.02.2004 um 05:23 schrieb Steve Palmer:
I set this in -(void)awakeFromNib in my AppController class. I also
connected File's Owner to AppController in IB which would presumably
make doing setDelegate redundant.
Hm. That should work ...
I verified that the delegate is never called.
Well, yes. But did you verify that your class is indeed the
application's delegate?
Try
[[NSApp delegate] applicationShouldTerminateAfterLastWindowClosed:NSApp]
from somewhere else in your code and see if the correct method is
called.
If that works, I don't know what else could be wrong.
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.