Contents

transformedValue(_:)

Returns the result of transforming a given value.

Declaration

func transformedValue(_ value: Any?) -> Any?

Parameters

  • value:

    The value to transform.

Return Value

The result of transforming value.

The default implementation simply returns value.

Discussion

A subclass should override this method to transform and return an object based on value.

See Also

Transforming Values