• 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: Kyle Sluder <email@hidden>
  • Date: Tue, 28 May 2013 10:01:39 -0700

On May 28, 2013, at 9:03 AM, Torsten Curdt <email@hidden> wrote:

>
> 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.

Well, aside from using performSelector:@selector(updateValue:) when the method is actually named -update (which I assume is just a typo), the slider is going to run the runloop in event tracking mode while the user is dragging. -performSelector:… will schedule the selector for NSDefaultRunLoopMode. You need to use the …inModes: variant to get delay-performs to happen while mouse-tracking.

--Kyle Sluder

_______________________________________________

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


References: 
 >rate limiting calls (From: Torsten Curdt <email@hidden>)
 >Re: rate limiting calls (From: Igor Elland <email@hidden>)
 >Re: rate limiting calls (From: Torsten Curdt <email@hidden>)
 >Re: rate limiting calls (From: John Pannell <email@hidden>)
 >Re: rate limiting calls (From: Torsten Curdt <email@hidden>)
 >Re: rate limiting calls (From: Torsten Curdt <email@hidden>)

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