• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: The unquittable App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >The unquittable App (From: email@hidden)

  • Prev by Date: Re: Network programming
  • Next by Date: Re: The unquittable App
  • Previous by thread: Re: The unquittable App
  • Next by thread: Re: The unquittable App
  • Index(es):
    • Date
    • Thread