O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

HFS File Types

These functions are used to determine the HFS file type of a file, as well as to convert between HFS file types and HFS file codes.

NSFileTypeForHFSTypeCode

NSString *NSFileTypeForHFSTypeCode(OSType hfsFileTypeCode)

NSHFSTypeCodeFromFileType

OSType NSHFSTypeCodeFromFileType(NSString *fileTypeString)

NSHFSTypeOfFile

NSString *NSHFSTypeOfFile(NSString *fullFilePath)

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required