Post

Replies

Boosts

Views

Activity

Reply to NSFileProtection confusion
Here's a working snippet: container = NSPersistentCloudKitContainer(name: "YourDataModelName") container.persistentStoreDescriptions.first!.setOption(FileProtectionType.complete as NSObject, forKey: "NSPersistentStoreFileProtectionKey") container.loadPersistentStores(completionHandler: { (storeDescription, error) in ...
Nov ’21