Re: rate limiting calls
Re: rate limiting calls
- Subject: Re: rate limiting calls
- From: Igor Elland <email@hidden>
- Date: Tue, 28 May 2013 16:34:17 +0200
Hi,
Quick question: how often are you calling setValue:? Every time it changes or is it inside an NSTimer/CADisplayLink?
Can you give us more information on this particular flow?
Cheers,
Igor Ranieri
On May 28, 2013, at 4:28 PM, Torsten Curdt <email@hidden> wrote:
> I am getting a lot of calls to a selector "setValue:" from a slider
> control - but setting this value takes an considerable amount of time.
>
> In order to keep the UI responsive I need to rate limit the actual
> calls or move the value setting into an async background queue.
> While the queue sounds like the most easiest way around this, queuing
> the calls isn't really what I need either as only the last recent
> value in the queue is of interest.
>
> Right now I am not sure how to tackle this best yet.
> Any thoughts?
>
> cheers,
> Torsten
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden