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: mmalc Crawford <email@hidden>
- Date: Fri, 20 Feb 2009 12:30:57 -0800
On Feb 20, 2009, at 12:10 PM, Jon C. Munson II wrote:
Additionally, the section on Creating and Deleting Managed Objects
isn't specific enough in my case to
support my theories.
What "theories"? Why do you need theories?
Second question: how to actually add records?
In the docuentation.
I've looked at -insertNewObjectForEntityForName which is pretty
straightforward. My question is actually when one has bunches of
records
what is the correct methodology to implement this?
In the documentation.
Also, I saw something about sending that -save message, but can't
remember
where I found that - is that necessary as well?
In the documentation.
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.
In the documentation.
mmalc
_______________________________________________
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