Re: Switching app type from background only to full UI, and back?
Re: Switching app type from background only to full UI, and back?
- Subject: Re: Switching app type from background only to full UI, and back?
- From: vincent habchi <email@hidden>
- Date: Fri, 5 Nov 2010 07:01:06 +0100
Le 5 nov. 2010 à 01:46, Jim Wintermyre <email@hidden> a écrit :
> I have an app that needs to always be running in the background. Most of the time it is just a faceless daemon, but for some complicated reasons, sometimes it needs to display various windows, and I can't easily factor out these UI elements so that the UI part is handled by a regular app (and IPC with the background server is used).
Why don't you split your app in two, with the daemon launching, when appropriate, the foreground interface as a separate process, and manage some means of communication between the two (Cocoa based or not...)
Vincent
_______________________________________________
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