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: Wed, 21 May 2008 22:07:11 -0700
On May 21, 2008, at 21:22, Lynn Barton wrote:
hfsFileType = [fileAttr valueForKey:NSFileHFSTypeCode];
modDate = [fileAttr valueForKey:NSFileModificationDate];
Don't you mean:
hfsFileType = [fileAttr objectForKey:NSFileHFSTypeCode];
modDate = [fileAttr objectForKey:NSFileModificationDate];
?
_______________________________________________
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