Static Propertyswift 6.0.3FoundationEssentials
noFileProtection
An option to not encrypt the file when writing it out.
- iOS
- 8.0+
- macOS
- 10.10+
- tvOS
- 9.0+
- watchOS
- 2.0+
static let noFileProtection: Data.WritingOptions
An option to not encrypt the file when writing it out.
static let noFileProtection: Data.WritingOptions
s20FoundationEssentials4DataV14WritingOptionsV16noFileProtectionAEvpZ
What are these?572FX
import FoundationEssentials
struct WritingOptions
@frozen struct Data
init(rawValue: UInt)
static let atomic: Data.WritingOptions
An option to write data to an auxiliary file first and then replace the original file with the auxiliary file when the write completes.
static let completeFileProtection: Data.WritingOptions
An option to make the file accessible only while the device is unlocked.
static let completeFileProtectionUnlessOpen: Data.WritingOptions
An option to allow the file to be accessible while the device is unlocked or the file is already open.
static let completeFileProtectionUntilFirstUserAuthentication: Data.WritingOptions
An option to allow the file to be accessible after a user first unlocks the device.
static let fileProtectionMask: Data.WritingOptions
An option the system uses when determining the file protection options that the system assigns to the data.
static let withoutOverwriting: Data.WritingOptions
An option that attempts to write data to a file and fails with an error if the destination file already exists.
let rawValue: UInt