Re: Making 'close' perform a 'quit'
Re: Making 'close' perform a 'quit'
- Subject: Re: Making 'close' perform a 'quit'
- From: Andrew White <email@hidden>
- Date: Thu, 23 Sep 2004 08:36:44 +1000
Larry Fransson wrote:
On Sep 22, 2004, at 00:12, Andrew White wrote:
> One useful piece of behaviour for utility programs with a single
> window is to have 'close' invoke 'quit'.
Check the docs for NSApplication, particularly its delegate methods,
and specifically -applicationShouldTerminateAfterLastWindowClosed:. I
can't imagine anything lighter than that!
Ta. Is there a way to specify this behaviour in a .nib, or do I need to
manually set it during instantiation of the program?
--
Andrew White
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden