Re:The Siren Call of KVO and Cocoa Bindings
by mpweiher on Saturday March 15, 2014 @06:54PM
(#7406885)
"KVO and Cocoa Bindings are not the same thing"
Yes. From the Fine Article:
"[..] bindings are one-way dataflow constraints, specifically with the equation limited to y = x1. More complex equations can be obtained by using NSValueTransformers. KVO is more of an implicit invocation mechanism that is used primarily to build ad-hoc dataflow constraints."
Yes. From the Fine Article:
"[..] bindings are one-way dataflow constraints, specifically with the equation limited to y = x1. More complex equations can be obtained by using NSValueTransformers. KVO is more of an implicit invocation mechanism that is used primarily to build ad-hoc dataflow constraints."
Bindings: simple one way dataflow constraints.
KVO: implicit invocation.
Not the same thing.