Instance Method
setCustomValue(_:forKey:) setCustomValue:forKey: setCustomValue_forKey_
Sets the value for the custom parameter with the specified key.
Declaration
func setCustomValue(_ value: Any?, forKey key: String)Declaration
- (void) setCustomValue:(id) value forKey:(NSString *) key;Declaration
setCustomValue_forKey_(value: object, key: str)Parameters
valueThe value to set.
keyThe name of the parameter.
Discussion
It will look for an existing parameter with the name and overwrite its value, or add a new parameter.