Re: Notify when App quits
Re: Notify when App quits
- Subject: Re: Notify when App quits
- From: Matt Jaffa <email@hidden>
- Date: Tue, 2 Mar 2004 21:44:03 -0700
Hmmmm,
I was looking into this,
will registering for a notification center like this inform me? Cause
it is not working so far.
And what type of apps will it inform me on?
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(NotifyMe:)
name:@"NSApplicationWillTerminateNotification" object:nil];
Is this wrong?
Thanks,
Matt
On Mar 2, 2004, at 9:25 PM, Sherm Pendley wrote:
>
On Mar 2, 2004, at 8:58 PM, Matt Jaffa wrote:
>
>
> I was wondering if there was a way to
>
> know when an application quits.
>
>
The shared NSApplication object sends its delegate a
>
-applicationWillTerminate: message just before quitting.
>
>
sherm--
>
_______________________________________________
>
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.
_______________________________________________
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.