NSOpenPanel
NSOpenPanel is a class in Apple's AppKit framework that presents the standard macOS file-open dialog. It is used by Cocoa applications to prompt the user to select one or more files or directories. NSOpenPanel is the counterpart to NSSavePanel, together providing the system file dialogs.
Instances of NSOpenPanel can be configured to restrict selection, offer multi-select, and customize file types. Common
To use it, create an NSOpenPanel, apply desired settings, and present it either as a modal window
NSOpenPanel supports delegates and is accessible from Objective-C and Swift. It is a standard component in