Re: NSOpenPanel and executable files
Re: NSOpenPanel and executable files
- Subject: Re: NSOpenPanel and executable files
- From: "Sean McBride" <email@hidden>
- Date: Thu, 20 Jul 2006 17:50:02 -0400
- Organization: Rogue Research
On 2006-07-20 17:25, Bit Twiddler said:
>I would like to restrict the files displayed in an NSOpenPanel to only
>Mach-O binary files (com.apple.mach-o-binary), but I can't figure out how to
>do it. If anyone has any pointers, I would greatly appreciate the help.
NSOpenPanel does not support filtering by UTI, but Navigation Services
does, and you can use it from a Cocoa app. See
NavDialogSetFilterTypeIdentifiers().
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden