Writes the contents of the receiver to the location specified by a given URL.
- iOS 2.0–2.0Deprecated
- macOS 10.0–10.4Deprecated
- tvOS 9.0–9.0Deprecated
- watchOS 2.0–2.0Deprecated
true if the location is written successfully, otherwise
true, the receiver is written to an auxiliary location, and then the auxiliary location is renamed to
false, the receiver is written directly to
true option guarantees that
a, if it exists at all, won’t be corrupted even if the system should crash during writing.
atomically parameter is ignored if
a is not of a type that can be accessed atomically.