Re: Save Panel without Filename selection
Re: Save Panel without Filename selection
- Subject: Re: Save Panel without Filename selection
- From: Ken Thomases <email@hidden>
- Date: Sat, 14 Sep 2013 10:54:04 -0500
On Sep 14, 2013, at 10:42 AM, Pax wrote:
> I have a requirement for a save dialog where the user can select a location but not a filename. At the moment I am implementing this functionality using the Open panel - but this has the disadvantages of a) having the action button labelled Open rather than Save and b) not having 'New Folder' functionality.
An open panel is the correct UI to use to let the user pick a folder. You can change the button title with -[NSSavePanel setPrompt:]. Use -[NSSavePanel setCanCreateDirectories:] with YES to enable the New Folder button.
Regards,
Ken
_______________________________________________
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