• 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
Preferencepane and user defaults
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Preferencepane and user defaults


  • Subject: Preferencepane and user defaults
  • From: a2z <email@hidden>
  • Date: Thu, 11 Sep 2008 16:32:36 +0530

Hi

I need to know if its possible to use NSUserDefaultsController to create a
default plist from a NSPreferencePane subclass.

I tried this

NSUserDefaults *        _defaults;

_defaults = [ [ NSUserDefaultsController sharedUserDefaultsController ]
defaults ];

// setObject ...

[_defaults synchronize]

Thanks,
_______________________________________________

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: Cocoa application running very slow under 64 bit
  • Next by Date: Re: NSTask is Weird
  • Previous by thread: Re: Inter-machine notifications
  • Next by thread: NSXMLParser bug?
  • Index(es):
    • Date
    • Thread