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

Re: NSSavePanel default file type


  • Subject: Re: NSSavePanel default file type
  • From: Todd Freese <email@hidden>
  • Date: Tue, 12 Jun 2012 22:23:23 -0500

Are you using a pre-built export dialog or a standard save dialog with a custom accessory view? Sounds like you need to use a custom accessory view, although this would most likely require you to code all the export features.

Todd


On Jun 12, 2012, at 10:11 PM, Kurt Sutter wrote:

> I could, if there were an official api to get that NSPopUpButton. Is there? I did not find one.
>
> Kurt
>
> On 12. Jun 2012, at 23:15, Martin Wierschin wrote:
>
>>> 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.
>> ...
>>> So, how can I set the item in the popup that is initially selected when the save panel comes up?
>>
>> Can't you just call methods on the NSPopUpButton you're setting as the accessory view? Ideally probably in response to -[NSDocument prepareSavePanel:]
>>
>> ~Martin
>>
>>
>
>
> _______________________________________________
>
> 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
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________
>



______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.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

References: 
 >NSSavePanel default file type (From: Kurt Sutter <email@hidden>)
 >Re: NSSavePanel default file type (From: Martin Wierschin <email@hidden>)
 >Re: NSSavePanel default file type (From: Kurt Sutter <email@hidden>)

  • Prev by Date: Re: NSSavePanel default file type
  • Next by Date: Cocoaheads Lake Forest meets tomorrow (Wednesday) night - continuing a reading group on Matt Neuburg's Programming iOS 5, 2nd edition
  • Previous by thread: Re: NSSavePanel default file type
  • Next by thread: Re: NSSavePanel default file type
  • Index(es):
    • Date
    • Thread