How can I preset the filename in NSSavePanel?

Viewed 8558

NSSavePanel used to have a runModalForDirectory:file: method which let you preset the directory and filename for a save panel. But that is deprecated in 10.6

When creating an NSSavePanel, how can I preset the filename without using the deprecated method?

2 Answers
Related