Re: Event loop expiration date insight
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