NSSavePanel default file type
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