RE: Quitting single-window application on close
RE: Quitting single-window application on close
- Subject: RE: Quitting single-window application on close
- From: email@hidden
- Date: Tue, 16 Mar 2004 10:08:04 -0000
Hi Michael,
In your app delegate implement the following method:
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication
*)theApplication
{
Return YES;
}
Cheers,
Alun Carp
Driver Development Team Leader
Data Encryption Systems Limited
-----Original Message-----
From: email@hidden
[
mailto:email@hidden] On Behalf Of Michael Becker
Sent: 16 March 2004 09:39
To: Cocoa Developers
Subject: Quitting single-window application on close
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...
Bye,
Michael
_______________________________________________
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.
_______________________________________________
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.