• 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: Pax <email@hidden>
  • Date: Sat, 14 Sep 2013 17:27:22 +0100

Gah!  Now I feel like such a dimwit!  I thought that those would only work on NSSavePanel - I didn't think to try them on NSOpenPanel.

I shall now go and hide my head in a paper bag, in shame.  Thank you so much, Ken.

On 14 Sep 2013, at 16:54, Ken Thomases <email@hidden> wrote:

> 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


References: 
 >Save Panel without Filename selection (From: Pax <email@hidden>)
 >Re: Save Panel without Filename selection (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Save Panel without Filename selection
  • Next by Date: Re: Window controllers and memory leaks
  • Previous by thread: Re: Save Panel without Filename selection
  • Next by thread: Need calls for MathType Edit Interface
  • Index(es):
    • Date
    • Thread