|
|
|
|
@ -65,8 +65,8 @@ struct PersistenceController { |
|
|
|
|
let options = NSPersistentCloudKitContainerOptions(containerIdentifier: id) |
|
|
|
|
storeDescription.cloudKitContainerOptions = options |
|
|
|
|
|
|
|
|
|
let remoteChangeKey = "NSPersistentStoreRemoteChangeNotificationOptionKey" |
|
|
|
|
storeDescription.setOption(true as NSNumber, forKey: remoteChangeKey) |
|
|
|
|
// let remoteChangeKey = "NSPersistentStoreRemoteChangeNotificationOptionKey" |
|
|
|
|
// storeDescription.setOption(true as NSNumber, forKey: remoteChangeKey) |
|
|
|
|
|
|
|
|
|
container = NSPersistentCloudKitContainer(name: "LeCountdown") |
|
|
|
|
container.persistentStoreDescriptions = [storeDescription] |
|
|
|
|
|