• 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
Re: rate limiting calls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: rate limiting calls
      • From: Torsten Curdt <email@hidden>
References: 
 >rate limiting calls (From: Torsten Curdt <email@hidden>)

  • Prev by Date: rate limiting calls
  • Next by Date: Re: rate limiting calls
  • Previous by thread: rate limiting calls
  • Next by thread: Re: rate limiting calls
  • Index(es):
    • Date
    • Thread