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

func runModal() -> NSApplication.ModalResponse

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 runModal(for:) method with self as the argument.

See Also

Running Panels

func validateVisibleColumns()

Validates and possibly reloads the browser columns visible in the panel by invoking the delegate method panel:shouldShowFilename:.