How do I preselect a folder in NSOpenPanel?

41 Views Asked by At

How can I preselect a folder using NSOpenPanel in MacOS Catalina (10.15.7) using Objective C? Setting setDirectoryURL to the required folder path shows the content of the folder at this path, but does not select the folder itself.

0

There are 0 best solutions below