On Oct 13, 2009, at 12:42 AM, Jim Correia wrote:
On Mon, Oct 12, 2009 at 6:36 PM, Iceberg-Dev
<dev.iceb...@gmail.com> wrote:
From what I've found in the documentation, the UTI type of a file
can be retrieved using the
LaunchServices APIs. This requires to provide a FSRef.
Wouldn't there be an API I didn't see in Foundation that lets you
obtain the type without having to
convert, at least, a NSURL to a FSRef?
See, on NSWorkspace:
- (NSString *)typeOfFile:(NSString *)absoluteFilePath error:(NSError
**)outError;
Thanks.
Unfortunately, I need a solution that is daemon-safe.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com