• 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: How to make my application quit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >How to make my application quit? (From: Arthur VIGAN <email@hidden>)

  • Prev by Date: Fun with MallocDebug
  • Next by Date: Re: How does Pixie work?
  • Previous by thread: Re: How to make my application quit?
  • Next by thread: Re: How to make my application quit?
  • Index(es):
    • Date
    • Thread