• 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: Override Terminate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Override Terminate


  • Subject: Re: Override Terminate
  • From: email@hidden
  • Date: Wed, 19 Oct 2005 19:02:47 +0000

It works now.  Thanks.


> Kris,
>
> >   I am sure this is basic, but I just can't figure it out.  What I
> > want to do is override the terminate command when the use quits my
> > application.  I want to do this so I can release some resources and
> > perform some clean up.
>
> Use -[NSApplication applicationWillTerminate:].
>
> <http://developer.apple.com/documentation/Cocoa/Reference/
> ApplicationKit/ObjC_classic/Classes/NSApplication.html#//apple_ref/
> doc/uid/20000012-CACBFGDB>
>
>
> Jonathon Mah
> email@hidden
>
>
 _______________________________________________
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

  • Prev by Date: Re: Override Terminate
  • Next by Date: Re: Override Terminate
  • Previous by thread: Re: Override Terminate
  • Next by thread: Re: Override Terminate
  • Index(es):
    • Date
    • Thread