Loads document data from a given file wrapper.
- macOS 10.0–10.4Deprecated
Loads document data in file wrapper
wrapper of type
docType into the receiver, displays it in windows, and returns whether the operation was successful. If
wrapper is a simple file, it invokes
loadDataRepresentation:ofType: to load the data. If
wrapper is a directory, it returns
NO by default; subclasses can override to handle file wrappers that are directories. This method is typically invoked by
readFromFile:ofType: after it creates an NSData object from the contents of the file.
A primitive method overridden by subclasses to return a data object that represents the data of the receiver in a given type.
Returns the filename (as a fully qualified path) under which the receiver has been saved.
Saves the contents of the document to a file or file package located by a URL, formatted to a specified type, for a particular kind of save operation, and returns
YES if successful.
Sets the file (filename and directory path) under which document data is saved.
Validates the Revert menu item and items selected from the Save panel’s pop-up list of writable document types items.