Re: HFS Type/Creator
Re: HFS Type/Creator
- Subject: Re: HFS Type/Creator
- From: email@hidden
- Date: Tue, 12 Mar 2002 18:14:33 -0800
How to get file's HFS Creator and Type into NSTextField (what
methods?)...I
mean String objects, not Creator Code.
If you already have the strings, just do [textfield
setStringValue:value].
If you need to get the strings, use -[NSFileManager
fileAttributesAtPath:traverseLink:], and convert the type and creator
codes it returns from NSNumbers into strings with a little simple
arithmetic (code to do this has been recently posted).
If neither of those is the answer you're looking for, then you need to
restate your question a bit more clearly. :->
Ben Haller
Stick Software
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.