• 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
A Mac App & helper NSStatusItem - how to share preferences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A Mac App & helper NSStatusItem - how to share preferences


  • Subject: A Mac App & helper NSStatusItem - how to share preferences
  • From: Steve Cronin <email@hidden>
  • Date: Sun, 28 Dec 2008 19:41:37 -0600

Folks;

I have an application which will have an optional helper NSStatusItem.
The statusItem is a stand-alone application which can be installed as a LoginItem.


I want this status item to be able to read the preferences file from the application.
The user sets a number of preferences in the normal app which influence both how the app and the status item should behave.


I'm under the clear impression that I should not use the same bundleIdentifer for the application and the statusItem.
They could both be running at the same time...
Yet the bundleIdentifier seems to be the key to the file that [NSUserDefaults sharedDefaults] opens..


This not a managed environment nor is this issue related to users or hosts, so it doesn't seem that CFPreferences is called for (or even helps!)

How can I get the statusItem to read the application's preferences?

Thanks!
Steve

_______________________________________________

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: A Mac App & helper NSStatusItem - how to share preferences
      • From: "Sean McBride" <email@hidden>
    • Re: A Mac App & helper NSStatusItem - how to share preferences
      • From: "Kyle Sluder" <email@hidden>
  • Prev by Date: Re: Crash when sorting tree bound to NSOutlineView
  • Next by Date: Re: should it crash?
  • Previous by thread: Re: [SOLVED!] Re: Printing a range of text in a particular container --
  • Next by thread: Re: A Mac App & helper NSStatusItem - how to share preferences
  • Index(es):
    • Date
    • Thread