how to add a button for create new file in NSOpenPanel?(not create folder button)

379 views Asked by At

macOS:how to add a button for creating new file in a NSOpenPanel?(not create folder button) enter image description here

1

There are 1 answers

2
Charles Srstka On

Have a look at NSOpenPanel's accessoryView property, which you can use to add arbitrary buttons and other UI elements to the open panel.