Saving defaults
Saving defaults
- Subject: Saving defaults
- From: Keith Penrod <email@hidden>
- Date: Thu, 19 Apr 2007 07:51:09 -0600
I'm making a Core Data Doc-based app and I have a table in the
document that I'd like to be able to populate with data that the user
provides in the preferences window. The preferences pane has a
tableview and the user should be able to type in any string he wants
to, and then when he makes a new document it should populate the
table in the document window. But I'm having trouble saving the data
to the user preferences.
I tried making an entity that would contain the string, then I made
an arraycontroller that would manage the data in the table. In
bindings for that controller, I tried binding the ContentSet to the
Shared User Defaults' values.strings path, but when I run it I get an
"Attempt to insert non-property value" error. How would I go about
doing this the right way?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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