Skip to content

Type Property

atomic

iOS 8.0+ iPadOS 8.0+ Mac Catalyst 8.0+ macOS 10.10+ tvOS 9.0+ watchOS 2.0+
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 atomic: Data.WritingOptions