• 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: Event loop expiration date insight
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Event loop expiration date insight


  • Subject: Re: Event loop expiration date insight
  • From: Graham Cox <email@hidden>
  • Date: Thu, 01 Nov 2012 09:18:17 +1100

On 31/10/2012, at 5:56 PM, Greg Parker <email@hidden> wrote:

> If the date is in the past then the method returns immediately. If there is a matching event in the queue then it will be returned.
>
>
>> I've changed this to pass nil and my mouse dragging works as normal.
>
> This is generally not recommended. Using nil instead of -distantFuture may use more CPU and power while the drag is in progress.


OK, thanks, that is clearer now - distantFuture it is then.

Any comment about how it could be possible to receive several mouseUps in series, even though I'm dequeuing the event?

--Graham


_______________________________________________

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: 
 >Event loop expiration date insight (From: Graham Cox <email@hidden>)
 >Re: Event loop expiration date insight (From: Greg Parker <email@hidden>)

  • Prev by Date: Re: printing Utf8
  • Next by Date: Re: Drawing customized window
  • Previous by thread: Re: Event loop expiration date insight
  • Next by thread: Programmatically providing default value for new core data attribute?
  • Index(es):
    • Date
    • Thread