Initializes the receiver as a regular-file file wrapper.
- iOS 4.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Contents of the file.
Initialized regular-file file wrapper containing
After initialization, the file wrapper is not associated with a file-system node until you save it using
The file wrapper is initialized with open permissions: anyone can write to or read the file wrapper.