How to store the values of a NSForm in the user defaults as an array?
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