• 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: identifying applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: identifying applications


  • Subject: Re: identifying applications
  • From: Eric Schlegel <email@hidden>
  • Date: Thu, 31 May 2001 16:30:21 -0700

On Thursday, May 31, 2001, at 02:59 PM, Steve Gehrman wrote:

trying to implement..

-(BOOL)isApplication:(NSString*)path;

There doesn't seem to be a built in API for finding Classic apps, carbon apps, Apps with .app and Apps without .app.

You should probably use the Carbon API LSCopyItemInfoForRef (LaunchServices.h) to determine that. You can check the output flags for kLSItemInfoIsApplication.

-eric


References: 
 >identifying applications (From: Steve Gehrman <email@hidden>)

  • Prev by Date: Re: Icons in NSOutlineView
  • Next by Date: Learning Cocoa Book Arrived
  • Previous by thread: identifying applications
  • Next by thread: Borland Patent on delegation of object events to event handlers
  • Index(es):
    • Date
    • Thread