I am following the tutorial - Setting Up Core Data with CloudKit.
It mentions about Manage Multiple Stores which suggests us to split our data model into multiple configurations - one for local, one for CloudKit sync.
Question... if my configuration "Local" and "Cloud" both contain the same entity "Quake", how can I tell Core Data which configuration I want my "Quake" managed object to save to?
For now, my solution is... I have a "LocalQuake" and a "CloudQuake" entity both sharing the same parent. Each one belongs to a configuration ("Local" and "Cloud" respectively).
Is that what you are doing in your project as well?
Thanks
B
It mentions about Manage Multiple Stores which suggests us to split our data model into multiple configurations - one for local, one for CloudKit sync.
Question... if my configuration "Local" and "Cloud" both contain the same entity "Quake", how can I tell Core Data which configuration I want my "Quake" managed object to save to?
For now, my solution is... I have a "LocalQuake" and a "CloudQuake" entity both sharing the same parent. Each one belongs to a configuration ("Local" and "Cloud" respectively).
Is that what you are doing in your project as well?
Thanks
B