Contents

withoutOverwriting

An option that attempts to write data to a file and fails with an error if the destination file already exists.

Declaration

static var withoutOverwriting: NSData.WritingOptions { get }

Discussion

You can’t combine this constant with atomic because atomic allows the system to overwrite the original file.

See Also

Constants