• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Save Panel without Filename selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Save Panel without Filename selection
      • From: Pax <email@hidden>
References: 
 >Save Panel without Filename selection (From: Pax <email@hidden>)

  • Prev by Date: Save Panel without Filename selection
  • Next by Date: Re: Save Panel without Filename selection
  • Previous by thread: Save Panel without Filename selection
  • Next by thread: Re: Save Panel without Filename selection
  • Index(es):
    • Date
    • Thread