• 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: Live scrolling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Live scrolling


  • Subject: Re: Live scrolling
  • From: Eric Long <email@hidden>
  • Date: Wed, 17 Nov 2004 11:25:00 -0800

> Just testing
> scroll detection, I ran into a caveat with the timer.  While the mouse
> remains down on the knob, whether you're still scrolling or not, the timer
> doesn't fire.  I figure that's because the main thread is tied up and it's
> not getting air time.  So, I'll have to use a secondary thread, like you
> suggested.

Looks like just adding the timer to the currentRunLoop for the
NSEventTrackingRunLoopMode and the NSDefaultRunLoopMode does the trick to
ensure my timer gets called.  So, it's much simpler than creating another
run loop.


Eric


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Live scrolling (From: Eric Long <email@hidden>)

  • Prev by Date: Re: how to control AddressBook's auto-completion feature
  • Next by Date: Re: How to embed a popup menu in an NSTextField
  • Previous by thread: Re: Live scrolling
  • Next by thread: Re: Live scrolling
  • Index(es):
    • Date
    • Thread