Instance Method インスタンスメソッド

reverseTransformedValue:

Returns the result of the reverse transformation of a given value. 与えられた値の逆変換の結果を返します。

Declaration 宣言

- (id)reverseTransformedValue:(id)value;

Parameters パラメータ

value

The value to reverse transform. 逆変換する値。

Return Value 戻り値

The reverse transformation of value. valueの逆変換。

Discussion 議論

The default implementation raises an exception if allowsReverseTransformation returns NO; otherwise it will invoke transformedValue: with value. 省略時の実装は、例外を引き起こします、もしallowsReverseTransformationNOを返すならば;そうでなければそれはtransformedValue: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 値を変換する