0

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.

Community
  • 1
  • 1
James Heald
  • 841
  • 1
  • 12
  • 33
  • Can you be more specific in your question? The way that you access the file dialog is different depending on the language you're using. What are you trying to accomplish? – nerdherd Aug 12 '12 at 03:32
  • Sorry. Objective C is the language I am trying to accomplish it in. Any ideas? – James Heald Aug 12 '12 at 11:00
  • 2
    Take a look at question: http://stackoverflow.com/questions/5126594/display-file-chooser-dialog – nerdherd Aug 12 '12 at 18:43
  • 1
    Adding to what nerdherd said, the counter part of the `NSOpenPanel` is, without surprise, `NSSavePanel`. – Mazyod Aug 12 '12 at 22:00

1 Answers1

2

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.

justin
  • 104,054
  • 14
  • 179
  • 226
  • @Vervious i was originally responding to "when you save as on a program and a file manager comes up". anyways, I have expanded the answer to include NSOpenPanel. thanks +1 – justin Aug 12 '12 at 23:50
  • 2
    thanks for the clarification - that's what I meant. I've already +1'd your answer :) – Vervious Aug 13 '12 at 00:06