Re: saving filename suggestion in NSSavePanel

2008-12-23 Thread Shawn Erickson
On Tue, Dec 23, 2008 at 1:17 PM, Nick Rogers wrote: > Hi, > I looked the docs for NSSavePanel, but it doesn't list any method for > putting in a suggested filename to the user. > How to do it? The "file:(NSString*)filename" parameter of the sheet and modal variants you use to show the save panel.

Re: saving filename suggestion in NSSavePanel

2008-12-23 Thread Douglas A. Welton
Hi Nick, re-read the doc for NSSavePanel and check out the methods: -runModalForDirectory:file: -beginSheetForDirectory:file:modalForWindow:modalDelegate:didEndSelector on 12/23/08 4:17 PM, Nick Rogers at roger...@mac.com wrote: > Hi, > I looked the docs for NSSavePanel, but it doesn't

saving filename suggestion in NSSavePanel

2008-12-23 Thread Nick Rogers
Hi, I looked the docs for NSSavePanel, but it doesn't list any method for putting in a suggested filename to the user. How to do it? Thanks, Nick ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator