Re: NSOpenPanel -setAllowedFileTypes
Re: NSOpenPanel -setAllowedFileTypes
- Subject: Re: NSOpenPanel -setAllowedFileTypes
- From: Laurent Daudelin <email@hidden>
- Date: Thu, 26 Aug 2010 17:35:48 -0700
It should be doable. A few applications offer this kind of filtering. Photoshop comes to mind. Not sure why it's not working for you, though, sorry.
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden
On Aug 26, 2010, at 17:00, email@hidden wrote:
> I beg to differ with you. This is not a hack as the methods to achieve this result all all public Cocoa api's.
>
> Our market (machine embroidery) realizes 29 file types. A customer may have a machine that recognizes 3 or 4 of these. Giving them the ability to filter file types from an open panel is quite reasonable and has nothing to do with their preference of Mac over Windows.
>
> Check this out and comment please http://highrolls.net/open_filter.png
>
> -koko
>
>
> On Aug 26, 2010, at 4:32 PM, Thomas Davie wrote:
>
>>
>> On 26 Aug 2010, at 18:41, email@hidden wrote:
>>
>>> I have an accessory view in an NSOpenPanel which contains a NSComboBox. The combo box is a list of file extensions. When the user selects an entry the action method calls --setAllowedFileTypes. All these mechanics work properly. The issue: The open panel does not respond to the new allowed file types.
>>>
>>> What I am trying to accomplish is a dynamic filter as we see in a Windows open file dialog.
>>>
>>> Am I barking up the wrong or impossible tree here?
>>
>> Simple solution – don't try to hack Mac OS to be windows. Different UIs are different, let them be so, you users are using macs for a reason.
>>
>> Bob
_______________________________________________
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