documentForFileName:
Returns the document object for the file in which the document data is stored.
Declaration
- (id) documentForFileName:(NSString *) fileName;Discussion
The fileName argument is a fully qualified path in the file system. Returns nil if no document can be found.
See Also
Deprecated Methods
fileExtensionsFromType:fileNamesFromRunningOpenPanelmakeUntitledDocumentOfType:makeDocumentWithContentsOfURL:ofType:makeDocumentWithContentsOfFile:ofType:openDocumentWithContentsOfFile:display:openDocumentWithContentsOfURL:display:openDocumentWithContentsOfURL:display:error:openUntitledDocumentOfType:display:reopenDocumentForURL:withContentsOfURL:error:setShouldCreateUI:shouldCreateUItypeFromFileExtension: