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

valueClassForBinding(_:)

Returns the class of the value that will be returned for the specified binding.

Declaration 宣言

func valueClassForBinding(_ binding: NSBindingName) -> AnyClass?

Parameters パラメータ

binding

The name of a binding.

Return Value 戻り値

The class of the value that will be returned for binding.

Discussion 解説

This method is used by Interface Builder to determine the appropriate transformers for a binding.

Implementation of this method is optional.

See Also 参照

Managing bindings