• 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
NSUserDefaults writing to machine wide preferences?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSUserDefaults writing to machine wide preferences?


  • Subject: NSUserDefaults writing to machine wide preferences?
  • From: Jim Correia <email@hidden>
  • Date: Thu, 30 Jan 2003 14:57:01 -0500

I notice that if I put a preference in /Library/my.bundle.identifier.plist by hand, that it is picked up in the default search path for NSUserDefaults.

Is there a way to use NSUserDefaults to put something there, or do I just need to make the CF call?

CFPreferencesSetValue(CFSTR("Key"), CFSTR("Value"), kCFPreferencesCurrentApplication, kCFPreferencesAnyUser, kCFPreferencesCurrentHost);

(I guess the same question applies to per host prefs...)

Thanks,
Jim
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSUserDefaults writing to machine wide preferences?
      • From: Chris Parker <email@hidden>
  • Prev by Date: Re: Best way to add a bevel to a subview
  • Next by Date: Re: Error_from_debugger:_No_source_file_named ...
  • Previous by thread: Determining the modifier key states
  • Next by thread: Re: NSUserDefaults writing to machine wide preferences?
  • Index(es):
    • Date
    • Thread