• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSOpenPanel listing .app's and Mac OS X executables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOpenPanel listing .app's and Mac OS X executables


  • Subject: Re: NSOpenPanel listing .app's and Mac OS X executables
  • From: Arun <email@hidden>
  • Date: Thu, 23 Apr 2009 13:10:03 +0530

I have used [NSArray arrayWithObjects:@"public.executable",@"app",nil] .
This will allow me to choose only executables and applications(.app's).
But If i create an executable from command line using gcc - a.out, it is not
allowing me to select the a.out file.
Do i need to add @"out" to the array or is there any correct identifier that
i need to use?

-Arun

On Thu, Apr 23, 2009 at 3:36 AM, Kyle Sluder <email@hidden> wrote:

> On Wed, Apr 22, 2009 at 5:59 PM, Dave Keck <email@hidden> wrote:
> > - (void)setAllowedFileTypes:(NSArray *)types
>
> Note that on Leopard this method takes an array of UTIs, so you might
> want to take a look at the list of System-Declared UTIs at
>
> http://developer.apple.com/DOCUMENTATION/Carbon/Conceptual/understanding_utis/utilist/UTIlist.html
> and choose the ones you want to specify.
>
> --Kyle Sluder
>
_______________________________________________

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

  • Follow-Ups:
    • Re: NSOpenPanel listing .app's and Mac OS X executables
      • From: Corbin Dunn <email@hidden>
    • Re: NSOpenPanel listing .app's and Mac OS X executables
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >NSOpenPanel listing .app's and Mac OS X executables (From: Arun <email@hidden>)
 >Re: NSOpenPanel listing .app's and Mac OS X executables (From: Dave Keck <email@hidden>)
 >Re: NSOpenPanel listing .app's and Mac OS X executables (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Time since Login?
  • Next by Date: Re: NSSearchField and Thai
  • Previous by thread: Re: NSOpenPanel listing .app's and Mac OS X executables
  • Next by thread: Re: NSOpenPanel listing .app's and Mac OS X executables
  • Index(es):
    • Date
    • Thread