• 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
Core Data Initialization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data Initialization


  • Subject: Core Data Initialization
  • From: Dave <email@hidden>
  • Date: Mon, 02 Sep 2013 12:01:42 +0100

Hi,

I have inherited an iOS application that uses Core Data. At App Launch time, it checks to see if the App.sqlite file is present and if not it copies an existing .sqlite file including in the Xcode Project into the correct folder on the device for Core Data.

I have a couple of questions regarding:

1.  Is this advisable? Is it Safe?
2.  What happens if I change the model file and forget to update the Pre-built SQLite File?
3.  Is there a better way of doing this?

Thanks in Advance for your help
Dave


_______________________________________________

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: Core Data Initialization
      • From: Willeke <email@hidden>
    • Re: Core Data Initialization
      • From: Jerry Krinock <email@hidden>
References: 
 >Core Data randomly reports updating an object, but it is unchanged (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Core Data randomly reports updating an object, but it is unchanged
  • Next by Date: Confusion about Image I/O export?
  • Previous by thread: Core Data randomly reports updating an object, but it is unchanged
  • Next by thread: Re: Core Data Initialization
  • Index(es):
    • Date
    • Thread