Opens a document located by the given URL presents its user interface if requested, and returns the document if successful.
- macOS 10.4–10.7Deprecated
If not successful, the method returns
nil after setting
outError to point to an
NSError object that encapsulates the reason why the document could not be opened.
The default implementation of this method checks to see if the document is already open according to
documentForURL:, and if it is not open determines the type of the document, calls
makeDocumentWithContentsOfURL:ofType:error: to instantiate it, then calls
addDocument: to record its opening, and sends the document
showWindows messages if
YES. If the document is already open it is just sent a
showWindows message if
Returns the document object for the file in which the document data is stored.
Sets whether the window controllers of a document should be created when the document is created.
Returns a Boolean value that indicates whether the window controllers of a document should be created when the document is created.
Returns the document type associated with files having extension