It turns out that in order to do this one has to bind the NSSlider’s Value to IKImageBrowserView’s zoomValue.
My question is why it only works in this way? It seems more natural (to me) to bind IKImageBrowserView’s zoomValue to NSSlider.intValue
Thanks!
The documentation for IKImageBrowserView states:
If all you pass in is the integer value, you’ll only ever get ‘0’ and ‘1’, which correspond to the minimum size, and ‘fit the browser bounds, respectively. You also need to make sure to configure the slider to have a minimum value of 0 and a maximum value of 1 to make it work with IKImageBrowserView.