• 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: Design Decision: Passing Information Between Two Applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Design Decision: Passing Information Between Two Applications


  • Subject: Re: Design Decision: Passing Information Between Two Applications
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 09 Mar 2006 12:08:16 -0800
  • Thread-topic: Design Decision: Passing Information Between Two Applications

on 06/03/09 11:08, Philip Dow at email@hidden wrote:

> 2. Preferences - modify my helper's preferences file from the main
> application, and have the helper watch for changes here using a
> NSUserDefaultsDidChangeNotification mechanism.

This implies that your helper's preferences file is different than the main
application's preferences file.  I have a similar applicaction, with a
helper, but I gave them the same CFBundleIdentifier in Info.plist so they
both use the same preferences file.  It makes life a lot easier; they use a
lot of the same code, and everything "just works".  My two apps can "leave
messages" for one another in the common preferences file.

(I don't think it matters, but my helper is "faceless", i.e., LSUIElement
and LSBackgroundOnly are both <string>1</string>.  And my helper lives in
the Resources folder of the main application.)


 _______________________________________________
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

References: 
 >Design Decision: Passing Information Between Two Applications (From: Philip Dow <email@hidden>)

  • Prev by Date: Re: Core Data : awakeFromInsert
  • Next by Date: Re: Category class method problem
  • Previous by thread: Re: Design Decision: Passing Information Between Two Applications
  • Next by thread: Re: Design Decision: Passing Information Between Two Applications
  • Index(es):
    • Date
    • Thread