Example of creating NSView with custom bindings

Does anyone know where I can find an example of creating a NSView subclass with custom bindings. I need to be able to bind to the object in interface builder.

This is the only reference in Apple documents but as is often the case there appear to be no examples.

https://developer.apple.com/documentation/objectivec/nsobject/nskeyvaluebindingcreation

Example of creating NSView with custom bindings
 
 
Q