Re: Individual Preference for Each Document
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