I've been trying to get a text view and a slider to be updated to the correct value when either one has been modified.
Using bindings, I've successfully linked each control to a CALayer's "x" value position (layer.position.x). The layer does move when any of the controls are changed. However, when modifying one of the controls, I cannot get the other control to update itself to reflect the newly changed value.
I tried to implement my own setter and getter methods that align with the KVC standards, but the getter method I have is not getting called. I'm thinking because it's a primitive value that I'm modifying directly, the KVO for that value is not there. Is there a way to do this with bindings?
Thank You,
Charles