Re: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode]
Re: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode]
- Subject: Re: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode]
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Sat, 24 May 2008 08:10:48 +0200
On 23 May 2008, at 23:30, email@hidden wrote:
From what I have read quickly since Sean McBride sent his comment,
UTIs are
not yet implemented to the point where I could get the UTI of
every file on
my computer.
Sure you can. Use LSCopyItemAttributes() with kLSItemContentType.
How do you know this?
I just read "An Overview of UTI Functions" in the "Uniform Type
Identifiers Overview" and did find no mention at all of this.
(Actually I had been looking for something like LSCopyItemAttribute
(), concluded that this did not exist, further concluded that this
nice technology obviously was only half implemented by Apple and that
I had to wait another year or two before it was usable).
Kind regards,
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden