Re: Hiding a running application
Re: Hiding a running application
- Subject: Re: Hiding a running application
- From: Carl Harris <email@hidden>
- Date: Fri, 26 Jun 2009 12:41:55 -0400
My app does some processing at quit time that can take a few
minutes, so I
thought it would be nice to remove the gui from the userĀ¹s attention
I deal with a similar situation by using a helper application,
configured as a launch agent. The helper program is configured to be
launched automatically (by launchd) when the foreground application
connects to its UNIX domain socket. The foreground application passes
enough information to the helper program (over the socket) for the
helper to do the clean up work. After the work has been passed off to
the helper, the foreground app simply exits -- the user doesn't know
or care that the helper is running.
There are several other options for configuring and auto-launching the
helper app. See
http://developer.apple.com/documentation/MacOSX/Conceptual/BPSystemStartup/Articles/LaunchOnDemandDaemons.html
for more details.
--
Carl Harris
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden