Reads and loads document data of the given type from the given file.
- macOS 10.0–10.4Deprecated
Reads and loads document data of type
doc from the file
file, returning whether the operation was successful. This method invokes
load and is invoked when the receiver is first created and initialized by
init. It uses
init to get the document data.
This method is one of the location-based primitives. Subclasses can override this method instead of overriding
load to read and load document data. Subclasses that handle file packages such as RTFD or that treat locations of files as anything other than paths should override this method. Override implementations of this method can filter the document data using
NSPasteboard or other filtering services.