On Mon, 13 Sep 2010 11:56:51 -0400, Andrew Coad <[email protected]> said: >I can see that UIEvent has a timestamp of type NSInterval which has sub-millisecond resolution. Should I use this? What is the relationship between this timestamp and mach_absolute_time()? Any better ways to do this?
The timestamp is the time when the event occurred. mach_absolute_time(), or CACurrentMediaTime(), is the time now. m. -- matt neuburg, phd = [email protected], <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.apeth.net/matt/default.html#applescriptthings _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
