NSMetadataQueryAttributeValueTuple Class Reference
| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/Foundation.framework |
| Availability | Available in iOS 5.0 and later. |
| Companion guide | |
| Declared in | NSMetadata.h |
Overview
The NSMetadataQueryAttributeValueTuple class represents attribute-value tuples, which are objects that contain the attribute name and value of a metadata attribute.
Attribute-value tuples are returned by NSMetadataQuery 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.
Instance Methods
attribute
Returns the receiver’s attribute name.
- (NSString *)attribute
Return Value
The receiver’s attribute name.
Availability
- Available in iOS 5.0 and later.
Declared In
NSMetadata.hcount
Returns the number of instances of the value that exist for the attribute name of the receiver.
- (NSUInteger)count
Return Value
The number of instantes of the value that exist for the attribute name of the receiver.
Availability
- Available in iOS 5.0 and later.
Declared In
NSMetadata.h© 2011 Apple Inc. All Rights Reserved. (Last updated: 2011-10-12)