Re: The unquittable App
Re: The unquittable App
- Subject: Re: The unquittable App
- From: Matthew Cox <email@hidden>
- Date: Sun, 2 Sep 2001 03:15:32 -0400
Set an object as the delegate of the application objects that implements
applicationShouldTerminate. Make it reply NO, see NSApplication
reference for more information. To set the delegate, the best method
IMHO is to instantiate the object in your MainMenu.nib, and connect it
to the delegate outlet of NSApplication (file's owner).
Although, you should really consider WHY you are making an unquittable
application, since it would be frustrating to MANY users. Personally,
I'm wondering. COuld you please tell me?
On Saturday, September 1, 2001, at 11:03 PM, email@hidden wrote:
How can I make an application that doesn't quit. I can take "quit" menu
item, but there is still "quit" in the dock's menu. Is this even
possible?
-sam
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev