SOLVED: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode]
SOLVED: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode]
- Subject: SOLVED: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode]
- From: Lynn Barton <email@hidden>
- Date: Thu, 22 May 2008 20:19:14 -0700
- Thread-topic: SOLVED: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode]
Thanks, Quincy Morris, for pointing out that I needed to get the value of
the NSNumber returned by the objectForKey method. It all works now, except
that I will use unsignedLongValue, not intValue.
Lynn Barton
_______________________________________________
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