Re: NSSavePanel's required/allowed types [solved]
Re: NSSavePanel's required/allowed types [solved]
- Subject: Re: NSSavePanel's required/allowed types [solved]
- From: "Jonas S" <email@hidden>
- Date: Thu, 4 Oct 2007 12:34:58 +0300
OK. Looks like figured this out.
Seems to work if using:
[_savePanel setAllowsOtherFileTypes:NO]; // not YES, as I tried before
[_savePanel setAllowedFileTypes:allExtensions];
[_savePanel setRequiredFileType:defaultExtension];
and setRequiredFileType goes after setAllowedFileTypes.
Thanks for suggestions.
Jonas S.
_______________________________________________
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