• 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: Individual Preference for Each Document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Individual Preference for Each Document


  • Subject: Re: Individual Preference for Each Document
  • From: Benjamin Stiglitz <email@hidden>
  • Date: Mon, 8 Oct 2007 09:04:21 -0700

i have a Core-Data document based application, and i wish to keep some of the preferences different for each document.
currently i have a separate entity in my data model storing all the preferences i wish to keep individual.
but i've had to change the data model many times, and the thought of constantly having to change it in the future is somewhat frightening, especially after i officially release the application.
is there a better approach?

Have one attribute and store an NSDictionary which contains your prefs in it rather than storing each separately in the model.

You could also place it in the store metadata; see the Core Data Programming Guide section on Persistent Stores.


-Ben
_______________________________________________

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


References: 
 >Individual Preference for Each Document (From: "Tony S. Wu" <email@hidden>)
 >Re: Individual Preference for Each Document (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: NSTableView questions
  • Next by Date: Re: Running Shell Script from Cocoa Application
  • Previous by thread: Re: Individual Preference for Each Document
  • Next by thread: swapping textfields
  • Index(es):
    • Date
    • Thread