Getting HFS file type of an application
Getting HFS file type of an application
- Subject: Getting HFS file type of an application
- From: Steve Palmer <email@hidden>
- Date: Sun, 17 Jul 2005 10:19:50 -0700
Quick question but I'm slightly stumped other than for a cumbersome
workaround.
Given a path to an application bundle in the /Applications folder,
how do I get the HFS file type of the application. NSHFSTypeOfFile
requires that the path is pointing to an actual Mach executable so I
would need to drill down into Contents\MacOS to find the actual
executable. Is there an equivalent function that will work if the
path is pointing to the root of the bundle (e.g. Mail.app)?
- Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden