Re: Identifying if a bundle is an app
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.