• 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
Re: Using NSUserDefaults with NSPreferencePane
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSUserDefaults with NSPreferencePane


  • Subject: Re: Using NSUserDefaults with NSPreferencePane
  • From: Gregory Weston <email@hidden>
  • Date: Wed, 23 Jul 2008 14:32:40 -0400

Tim Perrett wrote:

Hey all,

Im having issues saving my preferences from a preference pane im
constructing. I have tried using NSUserDefaultsController; to which
the values appear to be remembered somewhere, but not  as a file in
any of the usual places a plist preference file would be found...

Shared User Defaults in IB appears to remember the value, but can
anyone tell me where it stores it to? Or point me in the right
direction?

It'll be storing the data in the prefs file for System Preferences. That's not a good thing, of course. You'll have to go to some effort to get them into a file of your own. I tend to just fall back on CFPreferences for pref panes.
_______________________________________________


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


  • Prev by Date: Re: Dumb question: How does NSScrollView know the size of the thing it's scrolling?
  • Next by Date: Re: NSLog on releasebuild
  • Previous by thread: Re: Using NSUserDefaults with NSPreferencePane
  • Next by thread: NSArrayController and bindings and RaiseMan
  • Index(es):
    • Date
    • Thread