Re: Core Data Initialization

2013-09-04 Thread Dave
On 4 Sep 2013, at 15:54, Fritz Anderson wrote: > On 4 Sep 2013, at 6:33 AM, Dave wrote: > >> It doesn't actually say use an Core Data SQLite file, it says use a >> persistent store which may or may not be the same thing. Using an SQLite >> file that has been created using an older version of

Re: Core Data Initialization

2013-09-04 Thread Fritz Anderson
On 4 Sep 2013, at 6:33 AM, Dave wrote: > It doesn't actually say use an Core Data SQLite file, it says use a > persistent store which may or may not be the same thing. Using an SQLite file > that has been created using an older version of the app is really dodgy for a > number of reasons: > >

Re: Core Data Initialization

2013-09-04 Thread Dave
On 4 Sep 2013, at 12:13, Willeke wrote: > > Op 2 sep 2013, om 13:01 heeft Dave het volgende geschreven: > >> Is this advisable? > > Yes, it's in the Core Data FAQ: > https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/CoreData/Articles/cdFAQ.html#//apple_ref/doc/uid/TP4000

Re: Core Data Initialization

2013-09-04 Thread Willeke
Op 2 sep 2013, om 13:01 heeft Dave het volgende geschreven: > Is this advisable? Yes, it's in the Core Data FAQ: https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/CoreData/Articles/cdFAQ.html#//apple_ref/doc/uid/TP40001802-SW5 _

Re: Core Data Initialization

2013-09-04 Thread Dave
On 3 Sep 2013, at 15:59, Fritz Anderson wrote: > On 2 Sep 2013, at 9:33 AM, Jerry Krinock wrote wise things > about handling mismatches between stores and MOMs, and the practice of > copying a generic store into Documents/ if no store is there. > >> On 2013 Sep 02, at 04:01, Dave wrote: >>

Re: Core Data Initialization

2013-09-03 Thread Fritz Anderson
On 2 Sep 2013, at 9:33 AM, Jerry Krinock wrote wise things about handling mismatches between stores and MOMs, and the practice of copying a generic store into Documents/ if no store is there. > On 2013 Sep 02, at 04:01, Dave wrote: > >> 1. Is this advisable? Is it Safe? > > It's kind of wei

Re: Core Data Initialization

2013-09-02 Thread Jerry Krinock
On 2013 Sep 02, at 04:01, Dave wrote: > 1. Is this advisable? Is it Safe? It's kind of weird. > 2. What happens if I change the model file and forget to update the > Pre-built SQLite File? If your test suite launches the app as a new user, Core Data will either barf in a big way, or maybe

Core Data Initialization

2013-09-02 Thread Dave
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 reg