Contents

value(forOutputKey:)

Returns the value for an output port of a composition.

Declaration

func value(forOutputKey key: String!) -> Any!

Parameters

  • key:

    The key associated with an output port for the root patch of a composition. This method throws an exception if key is invalid.

Return Value

The value. The data type of returned value depends on the type of the output port. See QCPortAttributeTypeKey for more information.

See Also

Passing and Retrieving Values From a Composition