Re: NSOpenPanel listing .app's and Mac OS X executables
Re: NSOpenPanel listing .app's and Mac OS X executables
- Subject: Re: NSOpenPanel listing .app's and Mac OS X executables
- From: Corbin Dunn <email@hidden>
- Date: Fri, 15 May 2009 09:11:42 -0700
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 <email@hidden>
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 (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