• 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: Switching app type from background only to full UI, and back?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Switching app type from background only to full UI, and back?
      • From: Jim Wintermyre <email@hidden>
References: 
 >Switching app type from background only to full UI, and back? (From: Jim Wintermyre <email@hidden>)

  • Prev by Date: Re: Cannot find protocol declaration for 'NSTableViewDelegate'
  • Next by Date: Re: Cannot find protocol declaration for 'NSTableViewDelegate'
  • Previous by thread: Re: Switching app type from background only to full UI, and back?
  • Next by thread: Re: Switching app type from background only to full UI, and back?
  • Index(es):
    • Date
    • Thread