• 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 between background <-> foreground app type at run-time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Switching between background <-> foreground app type at run-time


  • Subject: Re: Switching between background <-> foreground app type at run-time
  • From: Charles Steinman <email@hidden>
  • Date: Wed, 26 Sep 2007 13:44:19 -0700 (PDT)

--- vance <email@hidden> wrote:

> 3. Have 2 different applications: One with
> LSBackgroundOnly set to 1,
> that creates the status item and Another one without
>
> Problem: They will be 2 different processes and a
> lot of interprocess
> communication needs to be used between. Not very
> sure the proper IPC
> mechanism to be used here. Plus I have to maintain 2
> different
> binaries instead of one for a very simple tool I am
> creating.

It will be simpler than doing what you are trying to
do. Check out Distributed Objects and
NSDistributedNotificationCenter. One will probably be
good enough for your purposes, and they're pretty
easy. This is how it's normally done.

Cheers,
Chuck


      ____________________________________________________________________________________
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
_______________________________________________

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

References: 
 >Switching between background <-> foreground app type at run-time (From: vance <email@hidden>)

  • Prev by Date: Re: how to build finalcut-pro style gui apps?
  • Next by Date: Re: Core data - getting fresh records
  • Previous by thread: Re: Switching between background <-> foreground app type at run-time
  • Next by thread: Re: setState not working as expected
  • Index(es):
    • Date
    • Thread