Core Data with watchOS2...nightmare?

Hi

I was working on an app with iOS 8 and WatchOS 1 that shared a Core Data file via App Groups with its corresponding iOS app and it was working nicely and almost ready to submit, the concept I had was working great.


After looking at the initial videos on WatchOS 2 it is looking like using Core Data could now become an absolute nightmare!

there doesn't seem to be much anywhere giving best practices on how you would have a core data store on the iPhone and the Watch and keep them in sync.


I know there is the new Watch Connectiveity framework for transferring files but I don't really see how that helps regarding Core Data setups?


I would have expected Apple to at least give some pointers on how this sort of thing could be achieved? am I missing a link somewhere?

My app requires data to be shared between the iOS app and the Watch app with new Core Data records to be added from either the iOS app or the watch app but both devices having access to all the data


I was looking to get started on moving it up to iOS 9 and and WatchOS 2 but currently have no idea where to start on the data side


Surely Apple would have forseen this sort of thing and created a away to achieve this scenerio or at the very least documented a guide?


I'm hoping someone will be able to point me to something I haven't seen yet that explains all this


Many Thanks for any hints


Steve

After taking another look at the Connectiveity stuff and havinga bit of a rethink!

I reckon its going to be too much hassle having core data models on both sides so I'm planning to put the Core Data on the iOS app and feed it to the watch as and when required and have a much more simple model that end being fed data from the iOS app.


Minimal data will be added from the watch so I'm thinking I can queue that up with background transfers and insert it into Core Data just on the phone.


use the various connectivity calls in iOS and WatchKit to sync things up


I'm pretty sure this is what Apple are wanting to move towards but it would be nice to get some confirmation


Cheers

Steve

That's the plan I'm going with also.


-Chris

Core Data with watchOS2...nightmare?
 
 
Q