• 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: NSSavePanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSavePanel


  • Subject: Re: NSSavePanel
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 20 Sep 2010 15:30:44 -0600

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

  • Follow-Ups:
    • Re: NSSavePanel
      • From: email@hidden
References: 
 >NSSavePanel (From: email@hidden)
 >Re: NSSavePanel (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: NSSavePanel
  • Next by Date: Re: creating docx file
  • Previous by thread: Re: NSSavePanel
  • Next by thread: Re: NSSavePanel
  • Index(es):
    • Date
    • Thread