Mac Developer Library

Developer

Foundation Framework Reference NSMetadataQueryAttributeValueTuple Class Reference

Options
Deployment Target:

On This Page
Language:

NSMetadataQueryAttributeValueTuple

The NSMetadataQueryAttributeValueTuple class represents attribute-value tuples, which are objects that contain the attribute name and value of a metadata attribute. More...

Inheritance


  • NSObject
  • NSMetadataQueryAttributeValueTuple
  • NSObject
  • NSMetadataQueryAttributeValueTuple

Conforms To


Import Statement


import Foundation @import Foundation;

Availability


Available in OS X v10.4 and later.
  • attribute attribute Property

    The attribute name for the tuple’s value. (read-only)

    Declaration

    Swift

    var attribute: String { get }

    Objective-C

    @property(readonly, copy) NSString *attribute

    Import Statement

    import Foundation

    Availability

    Available in OS X v10.4 and later.

  • count count Property

    The number of instances of the value for the tuple’s attribute. (read-only)

    Declaration

    Swift

    var count: Int { get }

    Objective-C

    @property(readonly) NSUInteger count

    Import Statement

    import Foundation

    Availability

    Available in OS X v10.4 and later.

  • value value Property

    The value of the tuple’s attribute. (read-only)

    Declaration

    Swift

    var value: AnyObject? { get }

    Objective-C

    @property(readonly, retain) id value

    Import Statement

    import Foundation

    Availability

    Available in OS X v10.4 and later.