objective c - How NSSlider live update value? -
it seems nsslider in cocoa not provide delegate received slider event.
how nsslider live update value nstextfield ?
you need research cocoa's target/action mechanism. basic cocoa concept you'll need understand. slider (and other control) can given target (some controller object) , action (the method call against controller object).
the action fired when user stops dragging default. check slider's continuous property in interface builder cause trigger action you're sliding it.
Comments
Post a Comment