Instance Method

valueForAttribute:

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

Declaration

- (id)valueForAttribute:(NSString *)key;

Parameters

key

The name of a metadata attribute. See the “Constants” section for a list of possible keys.

Return Value

The receiver’s metadata attribute name specified by key.

See Also

Getting Item Attributes

attributes

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

- valuesForAttributes:

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software