Re: NSOpenPanel & NSFileTypeForHFSTypeCode
Re: NSOpenPanel & NSFileTypeForHFSTypeCode
- Subject: Re: NSOpenPanel & NSFileTypeForHFSTypeCode
- From: Uli Kusterer <email@hidden>
- Date: Wed, 10 Oct 2007 23:59:15 +0200
Am 10.10.2007 um 23:47 schrieb Sean McBride:
It's too bad that NSOpenPanel (unlike Nav Serv) can't filter by UTI.
Then you could use kUTTypeVolume aka "public.volume". You might try
calling UTTypeCopyDeclaration(kUTTypeVolume) and seeing if there is
any
equivalent HFS type.
I think there's 'disk' for disks in Carbon, but I haven't tried
whether that works with NSOpenPanel.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
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