atomic
An option to write data to an auxiliary file first and then replace the original file with the auxiliary file when the write completes.
Declaration
static var atomic: NSData.WritingOptions { get }Discussion
This option is equivalent to using a write method that takes the parameter atomically as true.