Re: How do I get the NSApplication of other running
Re: How do I get the NSApplication of other running
- Subject: Re: How do I get the NSApplication of other running
- From: "Jordan Krushen" <email@hidden>
- Date: Thu, 7 Sep 2006 16:44:39 -0700
On 9/7/06, Ben Phipps <email@hidden> wrote:
While we're on this topic, I have an app that launches a helper app.
It would be useful for me to know when the app stops running, either
by terminating on it's own, or more importantly by crashing. The
ugly and inefficient way I was doing this was to poll for a list of
running processes and look for my helper app. Does anyone have
suggestions for a more elegant solution?
http://developer.apple.com/technotes/tn/tn2050.html
See the Cocoa section of the above document.
More specifically, do a doc search for
NSWorkspaceDidTerminateApplicationNotification.
J.
_______________________________________________
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