• 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
Saving defaults
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: [Cocoa] How convert ":Developer:Private:jam" into a path POSIX-style
  • Next by Date: Detecting networks programmatically
  • Previous by thread: Re: CG related warnings when loading Nib
  • Next by thread: Detecting networks programmatically
  • Index(es):
    • Date
    • Thread