On May 28, 2013, at 9:03 AM, Torsten Curdt <tcu...@vafer.org> wrote:

> 
> The cancel and perform selector calls are being called but updateValue
> is only performed when I release the slider handle.
> I don't quite get why.

Well, aside from using performSelector:@selector(updateValue:) when the method 
is actually named -update (which I assume is just a typo), the slider is going 
to run the runloop in event tracking mode while the user is dragging. 
-performSelector:… will schedule the selector for NSDefaultRunLoopMode. You 
need to use the …inModes: variant to get delay-performs to happen while 
mouse-tracking.

--Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to