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

NSSavePanel default file type


  • Subject: NSSavePanel default file type
  • From: Kurt Sutter <email@hidden>
  • Date: Tue, 12 Jun 2012 17:47:29 +0200

Hi list

Our app allows to export its documents in a variety of formats, such as jpeg, tiff, png, pdf . Hence, we have set up the NSSavePanel to sport a file types popup that allows the user to select the desired file type.

Now we want that save panel to remember the format of the last export operation that the user made. For example, when the user exported the last document as a pdf, the next time he selects the Export command the popup should default to the pdf format. I have found no way, however, to set the item that is selected in that popup by default. It always defaults to the first format.

So, how can I set the item in the popup that is initially selected when the save panel comes up?

Any advice is welcome

Best regards

Kurt Sutter


_______________________________________________

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 default file type
      • From: Martin Wierschin <email@hidden>
  • Prev by Date: Re: TextField not updated in a sheet for document-based Cocoa app
  • Next by Date: Re: Crash(?) Questions
  • Previous by thread: Re: Crash(?) Questions
  • Next by thread: Re: NSSavePanel default file type
  • Index(es):
    • Date
    • Thread