Since the open panel is based on extensions, and most unix executables don't have extensions, you will have to use the save panel delegate method to determine if a file should be displayed or not (see the header).

Or, alternatively, require Leopard for your app.

corbin

On May 15, 2009, at 9:06 AM, Arun wrote:

ok.. what is the option in Tiger? any suggestions?

-Arun

On Fri, May 15, 2009 at 9:04 PM, Corbin Dunn <corb...@apple.com> wrote:

On May 15, 2009, at 4:52 AM, Arun wrote:

Hi..

If i use type: [NSArray arrayWithObjects:@"public.executable",@"app",nil], i am able to select unix-executables and .app's in Leopard. But if i try the same thing in tiger, it is not allowing me to select unix-executable files. Is there any special option that i need to pass ?

UTIs in the open panel only work in Leopard. It should be in the release notes for 10.5

corbin




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to