Binding NSTextField programmatically


#1

In the KVCfun project we bind the label text (NSTextField) to our property fido in the bindings inspector.

Just for the sake of curiosity… is it possible to do the binding programmatically? :astonished:
I tried to add the NSTextField as an observer to the fido property but didn’t work… :confused:


#2

See: developer.apple.com/library/mac … dings.html


#3

Ok…

just a simple bind:toObject:withKeyPath:options:

It’s working…