NSEvent's timeinterval
NSEvent's timeinterval
- Subject: NSEvent's timeinterval
- From: Calum Robinson <email@hidden>
- Date: Tue, 3 Dec 2002 17:28:10 +0000
I have an NSEvent, and I want to calculate the time between it's
timeinterval and the current time. However, NSEvent calculates it's
time interval relative to the startup time , and NSDate only has
methods that handle dates relative to the reference date (2001), or
1970.
Is there an easier way to do this without having to gettimeofday()? I
may have missed something in the docs - in which case I apologise.
Calum Robinson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.