I dont want to go through the data migration with an existing iphone app. Is is possible to have the ipad version use a different xcdatamodel file than the iphone version?
I search the project files where it reference myapp.xcdatamodel and cant find where it gets hooked up.
any suggestions?
Where is the appdelegate does it set this?
i do see:
NSURL *storeUrl = [NSURL fileURLWithPath: [[self applicationDocumentsDirectory] stringByAppendingPathComponent: @"storeLocations.sqlite"]];
There’s nothing magical about the persistent store coordinator or any other part of core data. They’re just objects with methods and properties, like anything else.
In your app delegate you just need to specify more than one, a la:
header
implementation
and
etc.