• 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: NSEvent timestamp is zero
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSEvent timestamp is zero


  • Subject: Re: NSEvent timestamp is zero
  • From: Rob Keniger <email@hidden>
  • Date: Thu, 7 Jan 2010 13:31:18 +1000

On 07/01/2010, at 10:47 AM, email@hidden wrote:

> I am trying to filter my NSEvents by timestamp but some, with event type of NSAppKItDefined, have a zero timestamp.
>
> I can work around this by calculating a timestamp value for the event as the current time since system boot.
>
> Is a mach timer the way to go on this?


What are you actually trying to do? Why do you need to filter the events by timestamp?

--
Rob Keniger



_______________________________________________

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: NSEvent timestamp is zero
      • From: "email@hidden" <email@hidden>
References: 
 >NSEvent timestamp is zero (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: Problems Fading Out Music
  • Next by Date: Re: Problems Fading Out Music
  • Previous by thread: NSEvent timestamp is zero
  • Next by thread: Re: NSEvent timestamp is zero
  • Index(es):
    • Date
    • Thread