What if you handle the label via bindings, but your long process via
the target/action? Then you could use -[NSSlider sendActionOn:]
(inherited from NSControl) with NSLeftMouseUpMask to only send the
action on drag end. It seems like this would work for a slider, though
I'm not sure if the bindings update would be affected by this setting.
On Dec 1, 2008, at 7:34 PM, Jean-Nicolas Jolivet wrote:
I was wondering if its possible to have an NSSlider send an action
after the user finished dragging, while still providing continuous
updates?
The thing is, when the slider value changes, there's a considerably
long process that will take place so I can't set my slider to
continuous, but I would like to provide a continuous update of the
UI (i.e. the label that displays the slider value)...
I'm guessing I will probably have to subclass but even then I'm not
really sure where to start??