Class

NSMetadata​Query​Attribute​Value​Tuple

The NSMetadata​Query​Attribute​Value​Tuple class represents attribute-value tuples, which are objects that contain the attribute name and value of a metadata attribute.

Overview

Attribute-value tuples are returned by NSMetadata​Query objects as the results in the value lists. Each attribute/value tuple contains the attribute name, the value, and the number of instances of that value that exist for the attribute name.

Symbols

Getting Query Attribute/Value Information

var attribute:​ String

The attribute name for the tuple’s value.

var count:​ Int

The number of instances of the value for the tuple’s attribute.

var value:​ Any?

The value of the tuple’s attribute.

Relationships

Inherits From