问题
I'm working on an app that uses NSPersistentCloudKitContainer
to share data between devices. The core data model has multiple entities, two of which are connected using a relationship with it's respective inverse. The issue I'm having is that when I set the relationship to nil
the cloud data is not updated and when I restart the app, the relationship gets reset back what it was before it was set to nil
.
Is this a bug in the new NSPersistentCloudKitContainer
? Is anyone else having this issue?
来源:https://stackoverflow.com/questions/57470636/relationship-persistence-with-nspersistentcloudkitcontainer