• 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: Populating a new SQLite Core Data store with default data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • RE: Populating a new SQLite Core Data store with default data
      • From: "Jon C. Munson II" <email@hidden>
References: 
 >Populating a new SQLite Core Data store with default data (From: "Jon C. Munson II" <email@hidden>)
 >Re: Populating a new SQLite Core Data store with default data (From: mmalc Crawford <email@hidden>)
 >RE: Populating a new SQLite Core Data store with default data (From: "Jon C. Munson II" <email@hidden>)

  • Prev by Date: RE: Populating a new SQLite Core Data store with default data
  • Next by Date: Re: Code Signing Examples
  • Previous by thread: RE: Populating a new SQLite Core Data store with default data
  • Next by thread: RE: Populating a new SQLite Core Data store with default data
  • Index(es):
    • Date
    • Thread