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

NSEvent timestamp is zero


  • Subject: NSEvent timestamp is zero
  • From: "email@hidden" <email@hidden>
  • Date: Thu, 7 Jan 2010 00:47:49 +0000

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?

Regards

Jonathan Mitchell

Developer
http://www.mugginsoft.com






_______________________________________________

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: Rob Keniger <email@hidden>
  • Prev by Date: duplicate method found, but can't locate
  • Next by Date: Re: NSXMLParser question about duplicate nodes
  • Previous by thread: Re: duplicate method found, but can't locate
  • Next by thread: Re: NSEvent timestamp is zero
  • Index(es):
    • Date
    • Thread