• 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
Writing to a specified NSUserDefaults domain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Writing to a specified NSUserDefaults domain


  • Subject: Writing to a specified NSUserDefaults domain
  • From: Loukas Kalenderidis <email@hidden>
  • Date: Mon, 23 Apr 2007 10:08:48 +1000

Hi guys,

Is there a supported way to write to an NSUserDefaults domain other than the one linked to the application's bundle identifier?

The app I'm working on has a helper app that may or may not reside on the same machine as the main app (communicated with via PDO). If on separate machines, the machine that the helper app is on may or may not have another copy of the main app on it. All the pref panes are plugins that can be loaded by either the main app or the helper app but I want the prefs set by one app to be available on the other. Don't ask (actually feel free to ask and I'll explain why, but I CBF right now). I suppose both apps could have the same bundle identifier, but that sounds like a Bad Thing to me. Plus I know I'm going to be asked to write some code later on to launch the main app from VectorWorks, so that might confuse things if they both have the same bundle identifier. So is it doable? Or any other suggestions?

Loukas
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Writing to a specified NSUserDefaults domain
      • From: King Chung Huang <email@hidden>
  • Prev by Date: Re: Removing subview crashes host application
  • Next by Date: top broken on PPC?
  • Previous by thread: Re: Best format and method for very fast CGImage resizing [Solved]
  • Next by thread: Re: Writing to a specified NSUserDefaults domain
  • Index(es):
    • Date
    • Thread