• 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 NSCombobox sharedUserDefaults and bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSUserDefaults NSCombobox sharedUserDefaults and bindings


  • Subject: NSUserDefaults NSCombobox sharedUserDefaults and bindings
  • From: Nicolas Berloquin <email@hidden>
  • Date: Fri, 9 Apr 2004 14:39:56 +0200

Hello !!

I have a pref window with combo boxes that are bound to the sharedUserDefaults (with archiving).
Saving works fine (I checked my .plist file).
But when I want to retrieve the values programatically (long after my app has started), all I get is NSData type of values
(the view fields are used to enter strings or numbers). And [[NSUserDefaults standardUserDefaults] stringForKey:@"mykey"] returns nil...

Did I forget anything ?

thanks ;-)
_______________________________________________
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: Detecting low disk space
  • Next by Date: Objective-C Equivalent of System.currentFullUserName()
  • Previous by thread: Re: Detecting low disk space
  • Next by thread: Objective-C Equivalent of System.currentFullUserName()
  • Index(es):
    • Date
    • Thread