rate limiting calls
rate limiting calls
- Subject: rate limiting calls
- From: Torsten Curdt <email@hidden>
- Date: Tue, 28 May 2013 16:28:44 +0200
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