I use the GCD serial queue approach. On each update from the slider, cancel all 
operations in the queue and then add a new operation with the latest slider 
value. However, the NSOperation subclass should NOT check whether it is 
cancelled once it starts executing. That way, once it starts, it is assured to 
complete and you will get periodic updates.

On 2013-05-28, at 12:29 PM, Torsten Curdt <[email protected]> wrote:

>> Hm - this does not seem to work and I cannot see why not.
>> 
>> 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.
> 
> Would still be eager to know why but a GCD implementation was super
> simple and works.
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> 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/dave.fernandes%40utoronto.ca
> 
> This email sent to [email protected]


_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to