Type Method 型メソッド

exposeBinding(_:)

Exposes the specified binding, advertising its availability.

Declaration 宣言

class func exposeBinding(_ binding: NSBindingName)

Parameters パラメータ

binding

The key path for the property to be exposed.

Discussion 解説

The bound property will be accessed using key-value-coding compliant methods. This method is typically invoked in the class’s initialize implementation.

Bindings exposed using exposeBinding will be exposed automatically in exposedBindings unless that method explicitly filters them out, for example in subclasses.

See Also 参照

Exposing bindings