• 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 if a bundle is an app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Identifying if a bundle is an app


  • Subject: Re: Identifying if a bundle is an app
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Sat, 3 Jan 2004 03:46:38 +0100

At 20:21 Uhr +0100 02.01.2004, Jesus De Meyer wrote:
I've been looking for a way to indetify if a bundle is an application but haven't found anything. First I though about checking for the .app suffix, but I have apps that don't have an extension. I also can't check for the creator type as bundles show up as directories.

NSWorkspace (or NSFileManager ?) has a method that will tell you for a given path whether it is a package, which is the name used for bundled apps in that context.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >Identifying if a bundle is an app (From: Jesus De Meyer <email@hidden>)

  • Prev by Date: Re: Good example code for an Inspector/Get Info window?
  • Next by Date: List Mom -- Re: [OT] Encryption
  • Previous by thread: Re: Identifying if a bundle is an app
  • Next by thread: Writing to a MySQL database server
  • Index(es):
    • Date
    • Thread