• 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
Quit Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Quit Application


  • Subject: Quit Application
  • From: Connor Wakamo <email@hidden>
  • Date: Sat, 4 Jun 2005 18:35:42 -0400

Hello again,

I need a way to quit my application by pressing a button on the window.  I use this code:
[app terminate];
where app is the outlet representing my NSApplication.

Sorry if my posts seem easy to answer.  I'm teaching myself Cocoa with my only background in Mac OS X development in AppleScript Studio.  This is my first application that I'm creating myself.

Thanks,
Connor
 _______________________________________________
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

  • Follow-Ups:
    • Re: Quit Application
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: Need help with serialization using custom class objects
  • Next by Date: writeToFile:ofType:originalFile:saveOperation: on Tiger
  • Previous by thread: Re: If...then statements
  • Next by thread: Re: Quit Application
  • Index(es):
    • Date
    • Thread