Re: NSSavePanel default file type
Re: NSSavePanel default file type
- Subject: Re: NSSavePanel default file type
- From: Martin Wierschin <email@hidden>
- Date: Tue, 12 Jun 2012 14:15:39 -0700
> 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