• 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
System Preferences and NSUserDefaultsController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

System Preferences and NSUserDefaultsController


  • Subject: System Preferences and NSUserDefaultsController
  • From: "Eric Hankins" <email@hidden>
  • Date: Fri, 18 Jun 2004 20:51:27 -0600

Greetings,

I'm trying to write a preference pane for System Preferences that uses NSUserDefaultsController to store its data. (Mmm, bindings...) Everything works well, data is saved to files automatically, etc. The only problem is that the defaults are written to com.apple.systempreferences instead of my preference pane's bundle identifier (net.stormsilver.iTunesCheck). So that when I go and actually look at the plists, my settings are stored in com.apple.systempreferences.plist instead of net.stormsilver.iTunesCheck.plist.

Word on the street is that it's possible to access the NSUserDefaults instance used by NSUserDefaultsController and change the domain, but I can't figure out what to do to change the domain in use. Google has been quite unfriendly about the entire issue. So is it possible to tell NSUserDefaultsController to use a specific domain, or do I need to just do without Cocoa bindings?

Thanks.

--Eric Hankins
_______________________________________________
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.


  • Prev by Date: Re: Scrolling List of Thumbnails?
  • Next by Date: Re: Converting Openstep nibs to Cocoa nibs?
  • Previous by thread: Re: Converting Openstep nibs to Cocoa nibs?
  • Next by thread: Burning DVD-Video with DiskRecording Framework
  • Index(es):
    • Date
    • Thread