Displaying a File Open Dialog in Cocoa with Objective C
8 comments

Well I like your code. :D
Comment from: Shepard Emerson

I like your code too :P
Comment from: bbr

Very useful piece of code, was looking just for that but kept running into the carbon navdialog junk.
This works great!
Comment from: Phoenixxx

Liked the code.. Very helpful !!

Nice Dialog thx a lot.
Comment from: Jm

You legend, ive been looking through apple simple browser and complex browser examples, I knew there had to be an easier way
Comment from: Aneeque

Hi, can you please let me know how can I display the choose application dialog. I have an application in which I am displaying the right click context menu and I have an option in that menu on click of which choose application dialog gets open, my problem is that I don't know how to open what are the carbon/cocoa API's through which this dialog gets displayed.

@Aneeque: Set the Default Directory of the FIle DIalog to "/Applications" and then change the only allowed file types to ".app"