Item Attribute Constants

Constants used to retrieve item attributes.

Topics

Constants

let kLSItemContentType: CFString!

The item’s content type identifier, which is a uniform type identifier string. The value type of this attribute theis CFStringRef.

Deprecated
let kLSItemFileType: CFString!

The item’s file type (OSType). The value type of this attribute is CFStringRef.

Deprecated
let kLSItemFileCreator: CFString!

The item’s file creator (OSType). The value type of this attribute is CFStringRef.

Deprecated
let kLSItemExtension: CFString!

The item’s filename extension. The value type of this attribute is CFStringRef.

Deprecated
let kLSItemDisplayName: CFString!

The item’s name as displayed to the user. The display name reflects localization and extension hiding that may be in effect. The value type of this attribute is CFStringRef.

Deprecated
let kLSItemDisplayKind: CFString!

The localized kind string describing the item’s type. The value type of this attribute is CFStringRef.

Deprecated
let kLSItemRoleHandlerDisplayName: CFString!

The display name of the application that is set to handle this item, subject to the role mask. The value type of this attribute is CFStringRef.

Deprecated
let kLSItemIsInvisible: CFString!

A value of kCFBooleanTrue if the item is normally hidden from users; otherwise, kCFBooleanFalse. The value type of this attribute is CFBooleanRef.

Deprecated
let kLSItemExtensionIsHidden: CFString!

A value of kCFBooleanTrue if the item’s extension is set to be hidden; otherwise, kCFBooleanFalse. The value type of this attribute is CFBooleanRef.

Deprecated