Instance Method

valuesForAttributes:

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

Declaration

- (NSDictionary<NSString *,id> *)valuesForAttributes:(NSArray<NSString *> *)keys;

Parameters

keys

An array containing NSString objects that specify the names of a metadata attributes. See the “Constants” section for a list of possible keys.

Return Value

A dictionary containing the key-value pairs for the attribute names specified by keys.

See Also

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.