fileNamesFromRunningOpenPanel
Returns a selection of files chosen by the user in the Open panel.
Declaration
- (NSArray *) fileNamesFromRunningOpenPanel;Discussion
Each file in the returned NSArray is a fully qualified path to the file’s location in the file system. This method is called by openDocument(_:), and it calls runModalOpenPanel(_:forTypes:) after initializing the Open panel (which includes getting the starting directory with currentDirectory). Returns nil if the user cancels the Open panel or makes no selection.
See Also
Deprecated Methods
documentForFileName:fileExtensionsFromType:makeUntitledDocumentOfType:makeDocumentWithContentsOfURL:ofType:makeDocumentWithContentsOfFile:ofType:openDocumentWithContentsOfFile:display:openDocumentWithContentsOfURL:display:openDocumentWithContentsOfURL:display:error:openUntitledDocumentOfType:display:reopenDocumentForURL:withContentsOfURL:error:setShouldCreateUI:shouldCreateUItypeFromFileExtension: