Re: closing window and having application remain running
Re: closing window and having application remain running
- Subject: Re: closing window and having application remain running
- From: "Jordan Krushen" <email@hidden>
- Date: Sat, 24 Jun 2006 16:30:52 -0700
On 6/24/06, Tyler Riddle <email@hidden> wrote:
I have an application that I want to allow users to close the main
window and have the application continue running. I've implemented the
following code in the NSApplication delegate and it works, my question
is: is this the right way to do it?
- (BOOL) applicationOpenUntitledFile:(NSApplication *)app
See -applicationShouldTerminateAfterLastWindowClosed:
file:///Developer/ADC Reference Library/documentation/Cocoa/Reference/ApplicationKit/Classes/NSApplication_Class/Reference/Reference.html#//apple_ref/occ/instm/NSObject/applicationShouldTerminateAfterLastWindowClosed:
J.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden