• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
rate limiting calls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: rate limiting calls
      • From: Igor Elland <email@hidden>
  • Prev by Date: Re: What, exactly constitutes a mutable action on an instance?
  • Next by Date: Re: rate limiting calls
  • Previous by thread: Re: [RAA] realtime audio data transfer between two iOS devices
  • Next by thread: Re: rate limiting calls
  • Index(es):
    • Date
    • Thread