Re: applicationShouldTerminate oddity
Re: applicationShouldTerminate oddity
- Subject: Re: applicationShouldTerminate oddity
- From: "John C. Randolph" <email@hidden>
- Date: Fri, 22 Feb 2002 17:33:51 -0800
On Friday, February 22, 2002, at 12:11 PM, Judi Smith wrote:
OK Folks,
I don't understand this at all.
I have a delegate for NSApp. That delegate implements the
method "applicationShouldTerminate" When I quit from the menu,
the delegate method is performed. When I choose Command-Q, the
method is not performed.
What's up with that?
I just tried this in an app of mine, and I'm getting the
expected behaviour (ie, same thing whether I hit command-q or
use the menu.)
Is your "Quit" menu item wired up to the "file's owner" or the
"first responder" in your nib file?
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
_______________________________________________
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.