Class

NSMetadataItem

The metadata associated with a file.

Declaration

@interface NSMetadataItem : NSObject

Overview

Metadata items provide a simple interface to retrieve the available attribute names and values.

Topics

Creating a Metadata Item

- initWithURL:

Initializes a metadata item with a given URL.

Getting Item Attributes

attributes

An array containing the attribute keys for the metadata item’s values.

- valueForAttribute:

Returns the receiver’s metadata attribute name specified by a given key.

- valuesForAttributes:

Returns a dictionary containing the key-value pairs for the attribute names specified by a given array of keys.

Item Attribute Keys

Relationships

Inherits From