Sets the contents of the receiver by reading from a file of a given type located by a given URL.
- macOS 10.4+
An URL that specifies the location from which to read the document.
The document type at
absoluteis not valid, or the store at
absolutecannot be read, upon return contains an
NSErrorobject that describes the problem
absolute is valid and the file is read correctly, otherwise
This method sets the URL for the persistent object store associated with the receiver’s managed object context to