• 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: Quitting single-window application on close
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quitting single-window application on close


  • Subject: Re: Quitting single-window application on close
  • From: Jeremy Dronfield <email@hidden>
  • Date: Tue, 16 Mar 2004 10:39:46 +0000

On 16 Mar 2004, at 9:39 am, Michael Becker wrote:

Hello!

How can I quit my single-window application when the window is closed? Sorry for this easy question, but right now I just can't see it...

- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication
{
return YES;
}

in your app delegate.
-Jeremy

===================================
SkoobySoft, home of viJournal
http://freespace.virgin.net/jeremy.dronfield/skoobysoft.html
===================================
_______________________________________________
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.


References: 
 >Quitting single-window application on close (From: Michael Becker <email@hidden>)

  • Prev by Date: RE: Quitting single-window application on close
  • Next by Date: Re: type of errorString argument for propertyListFromData
  • Previous by thread: Quitting single-window application on close
  • Next by thread: RE: Quitting single-window application on close
  • Index(es):
    • Date
    • Thread