nspersistentcloudkitcontainer

Relationship persistence with NSPersistentCloudKitContainer

点点圈 提交于 2020-06-24 10:07:07
问题 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