Instance Method

runModal

Displays the panel and begins its event loop with the current working (or last-selected) directory as the default starting point.

Declaration

- (NSModalResponse)runModal;

Return Value

NSFileHandlingPanelOKButton (if the user clicks the OK button) or NSFileHandlingPanelCancelButton (if the user clicks the Cancel button).

Discussion

This method invokes NSApplication‘s runModalForWindow: method with self as the argument.

See Also

Showing the Panel

- beginSheetModalForWindow:completionHandler:

Presents the panel as a sheet modal to the specified window.

- beginWithCompletionHandler:

Presents the panel as a modeless window.

- validateVisibleColumns

Validates and reloads the browser columns visible in the panel.