• 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: Set Hierarchical NSUserDefaults Value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set Hierarchical NSUserDefaults Value


  • Subject: Re: Set Hierarchical NSUserDefaults Value
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 16 Jul 2010 10:16:51 -0700

On 2010 Jul 16, at 06:49, Richard Somers wrote:

> On Jul 16, 2010, at 7:12 AM, Richard Somers wrote:
>
>> How do I change the "Second Level" value?
>
> I think I just found out the answer to my question.
>
> You can't. You must get and set the value as a dictionary.

or use something like this category I wrote last year, when I got tired of uprooting and replanting entire trees in my User Defaults, every time I wanted to change a leaf:


Attachment: NSUserDefaults+KeyPaths.zip
Description: Zip archive


_______________________________________________

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

  • Follow-Ups:
    • Re: Set Hierarchical NSUserDefaults Value
      • From: Klaus Backert <email@hidden>
    • Re: Set Hierarchical NSUserDefaults Value
      • From: John Johnson <email@hidden>
References: 
 >Set Hierarchical NSUserDefaults Value (From: Richard Somers <email@hidden>)
 >Re: Set Hierarchical NSUserDefaults Value (From: Richard Somers <email@hidden>)

  • Prev by Date: Re: Adding an image to a project
  • Next by Date: Re: Set Hierarchical NSUserDefaults Value
  • Previous by thread: Re: Set Hierarchical NSUserDefaults Value
  • Next by thread: Re: Set Hierarchical NSUserDefaults Value
  • Index(es):
    • Date
    • Thread