• 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: Transition from [NSEvent phase] to [NSEvent momentumPhase]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transition from [NSEvent phase] to [NSEvent momentumPhase]


  • Subject: Re: Transition from [NSEvent phase] to [NSEvent momentumPhase]
  • From: Seth Willits <email@hidden>
  • Date: Fri, 16 Mar 2012 12:29:06 -0700

On Mar 16, 2012, at 11:38 AM, Markus Spoettl wrote:

>  I take it either (a) I'm the only one here having this problem or (b) it is so badly explained that no one knows that I'm talking about? If it's (b) I can try again...



Never needed to do it.

Can you dispatch_async(main_queue, ^{ if (did not start momentum) cleanUp(); });  to insert that after the next handling of the event loop which should either start the momentum cycle or not (if it isn't needed)? I don't know if that cycle is guaranteed to start on the next event loop cycle or not. Actually come to thinking of it, that dispatch probably gets executed at the end of the current event loop run anyway.

Perhaps there's a better time to do cleanup altogether?

--
Seth Willits





_______________________________________________

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: Transition from [NSEvent phase] to [NSEvent momentumPhase]
      • From: Markus Spoettl <email@hidden>
References: 
 >Transition from [NSEvent phase] to [NSEvent momentumPhase] (From: Markus Spoettl <email@hidden>)
 >Re: Transition from [NSEvent phase] to [NSEvent momentumPhase] (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Re: iTunes like Fast Forward and Rewind Buttons
  • Next by Date: Re: Transition from [NSEvent phase] to [NSEvent momentumPhase]
  • Previous by thread: Re: Transition from [NSEvent phase] to [NSEvent momentumPhase]
  • Next by thread: Re: Transition from [NSEvent phase] to [NSEvent momentumPhase]
  • Index(es):
    • Date
    • Thread