Instance Method

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 nil to clear the default value.

key

The input parameter key whose default value you want to set.

See Also

Setting Composition Input Parameters

func resetDefaultInputValues()

Clears all previously set default values for composition input parameters.

Deprecated