Instance Method

setValue:forKey:

Invokes setValue:forKey: on each of the array's items using the specified value and key.

Declaration

- (void)setValue:(id)value forKey:(NSString *)key;

Parameters

value

The object value.

key

The key to store the value.

See Also

Key-Value Coding

- valueForKey:

Returns an array containing the results of invoking valueForKey: using key on each of the array's objects.