Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Handling application quit



Graham Savage wrote:
| I have a Cocoa-Java app.
| GUI built using interface builder.
| I want to do pre-quit processing when the user quits the app (saving
| data etc).
| I cannot find any docs that explain how to do this, such as what
| method, if any, gets called before the app quits.

How hard are you looking? The documentation for NSApplication talks quite specifically about what happens when the user quits the application. I'd think that a class with "Application" in the name would be one of the first places to look.

Again, have you considered posting to cocoa-dev, where the Cocoa experts hang out?

Glen Fisher
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.

References: 
 >Handling application quit (From: Graham Savage <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.