• 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
How to store the values of a NSForm in the user defaults as an array?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to store the values of a NSForm in the user defaults as an array?


  • Subject: How to store the values of a NSForm in the user defaults as an array?
  • From: "Eloy Duran" <email@hidden>
  • Date: Thu, 9 Aug 2007 13:43:50 +0200

Hello list,

I have a NSForm instance in my preferences panel and have bound it's
cells to the NSUserDefaultsController. It works but it stores the
entries as separate entries in the root object, so I was wondering how
I could store the values inside one entry (array) that has child nodes
for every value?

I tried specifying a keypath like theArray.value1 and theArray.value2 etc.
But that doesn't work, it just uses the complete keypath as the key;
"theArray.value1".

Thanks in advance!
Cheers,
Eloy
_______________________________________________

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: Loading data in a background thread and displaying it with Bindings
  • Next by Date: Re: Cocoa and messages to nil, revisited
  • Previous by thread: Re: NSTableview crash when it contains more number of records
  • Next by thread: Accessing window in NSAlert didEndSelector:
  • Index(es):
    • Date
    • Thread