Re: How to make my application quit?
Re: How to make my application quit?
- Subject: Re: How to make my application quit?
- From: Rosyna <email@hidden>
- Date: Wed, 3 Jul 2002 19:13:10 -0700
[NSApp terminate:self];
[NSApp terminate:nil];
Or send a quit AppleEvent to yourself.
The first two are identical, just two different ways to do it.
terminate is an action, so it has a sender.
Ack, at 7/4/02, Arthur VIGAN said:
I would like to make my app quit in particular cases, but as there is no
menubar, I can't use the application menu.
I tried to user the terminate(Object sender) function, but I got the error
"Undefined symbols: _terminate" at compile time. Maybe I didn't use the
function in the rigth way. Could someone help me?
Thanks in advance.
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
---
Please include any previous correspondence in replies, it helps me
remember what we were talking about. Thanks.
_______________________________________________
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.