Re: NSSavePanel
Re: NSSavePanel
- Subject: Re: NSSavePanel
- From: email@hidden
- Date: Mon, 20 Sep 2010 15:41:54 -0600
Thanks Sean and Nick.
Yeah I am on 10.5.8 for specific reasons.
-koko
On Sep 20, 2010, at 3:30 PM, Nick Zitzmann wrote:
On Sep 20, 2010, at 3:25 PM, Sean McBride wrote:
Is it not possible to set the file name text field before displaying
an NSSavePanel? I see no "setters" in the docs for filename.
Incredibly, this was only added in 10.6. Are you on an older OS?
See
setNameFieldStringValue:
Well, sort of. On Snow Leopard, that is the correct method. On
Leopard and earlier, the -runModalForDirectory:file: and the sheet-
based equivalent do the same thing if you pass in a string for the
file argument. Incidentally, that method works in Snow Leopard as
well, although its use is now deprecated.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden