Re: Design Decision: Passing Information Between Two Applications
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