Sets the contents of this document by reading from a file or file package, of a specified type, located by a URL.
- macOS 10.4+
The location from which the document contents are read.
The string that identifies the document type.
On return, if the document contents could not be read, a pointer to an error object that encapsulates the reason they could not be read.
YES if the document contents could be read; otherwise,
The default implementation of this method just creates an NSFileWrapper and invokes
For backward binary compatibility with OS X v10.3 and earlier, the default implementation of this method instead invokes
[self read if
read is overridden and the URL uses the