panel(_:didChangeToDirectoryURL:)
Tells the delegate that the user changed the selected directory to the directory located at the specified URL.
Declaration
@MainActor optional func panel(_ sender: Any, didChangeToDirectoryURL url: URL?)Parameters
- sender:
The panel whose directory changed.
- url:
The URL of the new directory, or
nilif it can’t be represented by an Nsurl object.