Instance Method


Returns the result of the reverse transformation of a given value.


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



The value to reverse transform.

Return Value

The reverse transformation of value.


The default implementation raises an exception if allowsReverseTransformation() returns false; otherwise it will invoke transformedValue(_:) with value.

A subclass should override this method if they require a reverse transformation that is not the same as simply reapplying the original transform (as would be the case with negation, for example). For example, if a value transformer converts a value in Fahrenheit to Celsius, this method would converts a value from Celsius to Fahrenheit.

See Also

Transforming Values

func transformedValue(Any?) -> Any?

Returns the result of transforming a given value.