RE: Populating a new SQLite Core Data store with default data
RE: Populating a new SQLite Core Data store with default data
- Subject: RE: Populating a new SQLite Core Data store with default data
- From: "Jon C. Munson II" <email@hidden>
- Date: Fri, 20 Feb 2009 15:10:02 -0500
- Organization: JTA Enterprises LLC
> All your questions are answered in the documentation.
[Jon C. Munson II] No, they aren't. The specific questions relative to the
specific methods are generally answered in the documentation (which I
consulted before I posted originally). Additionally, the section on
Creating and Deleting Managed Objects isn't specific enough in my case to
support my theories. Certain methods in the OP I'm not asking about. What I
asked was for implementation advice - specifically, and reading between the
lines, if I need to populate default data, is it safe & correct to do that
within the application delegate's class method -persistantStoreCoordinator
method (this is the boiler plate code that is generated by Xcode), and also
if my thinking on how to actually add those records was correct & complete.
I also checked Core Recipes, but only saw where an object was copied (I may
have missed an in-code add w/ attribute population), so that didn't answer
my questions either.
Thus, I posted.
_______________________________________________
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