NSPersistentCloudKitContainer multiple stores

Hello,


I'm working on refactoring an existing app to use the new NSPersistentCloudKitContainer.


Our app is managing different "Projects" items which consist of a mix of structured data and files.

Files are stored locally and only their path are stored in one core data store at the moment.


Enabling NSPersistentCloudKitContainer did the job as now the db syncs between devices as expected.


As we would like to segregate each project into its own CoreData store, my question is:


Is it possible to leverage NSPersistentCloudKitContainer to sync multiple core data stores within the same app and have all of those stores synced?


Can you point me to any documentation that demonstrate this use case?


Thanks for the feedback.


Best regards


Santiago

Bump


Any insights?

NSPersistentCloudKitContainer multiple stores
 
 
Q