setDefaultValue(_:forInputKey:)
Sets the default value to use for a composition input parameter.
Declaration
func setDefaultValue(_ value: Any!, forInputKey key: String!)Parameters
- value:
This default value overrides any initial value existing for composition input parameters with this key. Pass
nilto clear the default value. - key:
The input parameter key whose default value you want to set.