Instance Method

setValue:forKey:

Invokes setValue:forKey: on each of the receiver's members 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 Support

- valueForKey:

Returns an ordered set containing the results of invoking valueForKey: using key on each of the ordered set’s objects.