allowsCloudEncryption
A Boolean value that determines whether to encrypt the attribute’s value.
Declaration
var allowsCloudEncryption: Bool { get set }Mentioned in
Discussion
Set this property to true to store the attribute’s value in an encrypted form in iCloud. Only use this property with new attributes. Core Data doesn’t support encrypting attributes that already exist in your CloudKit schema, or attributes that represent relationships between entities.
You can also set this property using the Allow Cloud Encryption attribute in the Attributes inspector of the Core Data model editor.