Re: How do you know a file is an Application?
Re: How do you know a file is an Application?
- Subject: Re: How do you know a file is an Application?
- From: David Remahl <email@hidden>
- Date: Thu, 11 Sep 2003 01:22:24 +0200
Even if the extension is hidden (in fact, it is _always_ hidden for
Applications), you will see it with its full file name in your
application (unless you ask for the display name).
The other case you need to check for, is wether a file is of the 'APPL'
type. There is API for getting the HFSType of a file in
NSFileManager.h.
/ Rgds, David
On den 11 september 2003, at 00:56:29AM, Jesus De Meyer wrote:
I used to check for the .app suffix, but obviously this would not work
if the extension was hidden or not written at all. Is there any way to
know that a file is of kind "Application"?
_______________________________________________
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.