nssavepanel

NSSavePanel: Squelching the "confirm replace?" dialog

In the Nav Services world one could specify kNavDontConfirmReplacement as an option to create a NavDialogRef that would not ask the user to confirm the replacement of a file when saving with a file name that already exists. How do I specify an equivalent behavior with the Cocoa NSSavePanel? ...

NSSavePanel selecting part of file name

How do I set the part of the file name that is selected in NSSavePanel? I only want the file name selected and not the file extension. Here's what I noticed. If I setAllowedFileTypes: for the save panel then only the file name is selected but not the file extension. However if I don't set the allowed file types then the file extension i...

How can i use NSSavePanel to select a directory?

I need the user select an existing or a new directory where my app can save a few files. Can i do this with NSSavePanel or is there another directory selector class? ...