Re: The good place for add code for doing sth. before quit application
Re: The good place for add code for doing sth. before quit application
- Subject: Re: The good place for add code for doing sth. before quit application
- From: Scott Anguish <email@hidden>
- Date: Fri, 14 Sep 2001 14:36:11 -0400
there are messages that are sent to the application's delegate when an
app will terminate
look at the delegate documentation in NSApplication
On Friday, September 14, 2001, at 12:49 PM, email@hidden wrote:
Hello all,
My application need to do something before it quit. I wonder where is
the best place to add the code for this purpose. Should I add in
dealloc() of the controller class or anywhere else?