• 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: Quick Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quick Question


  • Subject: Re: Quick Question
  • From: Eric Peyton <email@hidden>
  • Date: Thu, 2 Aug 2001 22:08:37 -0500

Implement the delegate callback

- (BOOL)applicationShouldTerminateAfterLastWindowClosed:
(NSApplication *)sender;

on your NSApplication delegate.

If you don't know how to do that, let me know and I can walk you through it.

Eric

On Friday, August 3, 2001, at 02:23 PM, stuartbryson wrote:

How do you make your application automatically quit when the main window is closed?

Thanks.

Stuart
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


References: 
 >Quick Question (From: stuartbryson <email@hidden>)

  • Prev by Date: Re: Quick Question
  • Next by Date: Re: copy and release
  • Previous by thread: Re: Quick Question
  • Next by thread: Re: Quick Question
  • Index(es):
    • Date
    • Thread