[Core Data + CloudKit] How to exclude one model from being synced with the cloud?

I'm using NSPersistentCloudKitContainer to sync my Core Data stack with iCloud. I have one model that I want to be local to the device - how would I exclude that model from being synced while making sure it is saved to the device?
You have to use Configurations to do that, with two stores (one local, and one for the cloud). Then you choose what entities you want to have in each store.

Have a look at the Apple documentation here: https://developer.apple.com/documentation/coredata/mirroring_a_core_data_store_with_cloudkit/setting_up_core_data_with_cloudkit#3193724
[Core Data + CloudKit] How to exclude one model from being synced with the cloud?
 
 
Q