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: Quincey Morris <email@hidden>
- Date: Thu, 22 May 2008 17:08:09 -0700
On May 22, 2008, at 16:37, Lynn Barton wrote:
I can't get the OSType code
with the key NSFileHFSTypeCode. Each time I try to access this data
I get a
different result
Is it perhaps something to do with the fact that [fileAttributes
objectForKey: NSFileHFSTypeCode] is documented to be a NSNumber
object, so the actual type code would be [[fileAttributes
objectForKey: NSFileHFSTypeCode] intValue]?
_______________________________________________
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