File manager class on OSX SDK? [duplicate]
-
25-06-2021 - |
Domanda
Possible Duplicate:
Display file chooser dialog
What is the name of the file manager GUI. Like when you save as on a program and a file manager comes up. I'm talking about OSX 10.5 and upwards.
Soluzione
when you save as on a program and a file manager comes up
You would use NSSavePanel
for this.
If you simply want to open a document or choose a directory, then you would use NSSavePanel's
subclass - NSOpenPanel
.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow