Structure
FileProtectionType
Protection level values that can be associated with a file attribute key.
struct FileProtectionType
Overview
These values are associated with the protectionKey key.
Topics
Initializers
init(rawValue: String)Creates a file protection type value.
Instance Properties
Type Properties
static let complete: FileProtectionTypeThe file is stored in an encrypted format on disk and cannot be read from or written to while the device is locked or booting.static let completeUnlessOpen: FileProtectionTypeThe file is stored in an encrypted format on disk after it is closed.static let completeUntilFirstUserAuthentication: FileProtectionTypeThe file is stored in an encrypted format on disk and cannot be accessed until after the device has booted.static let inactive: FileProtectionTypestatic let none: FileProtectionTypeThe file has no special protections associated with it.
Relationships
Conforms To
Swift.RawRepresentableSwift.SendableSwift.SendableMetatype