UIEvent has timestamp. How can I generate an equivalent value on my own?

Posted by Dave Peck on Stack Overflow See other posts from Stack Overflow or by Dave Peck
Published on 2010-03-09T00:30:05Z Indexed on 2010/03/09 1:21 UTC
Read the original article Hit count: 326

Filed under:
|
|

According to the cocoa documentation, timestamp on UIEvent is "the number of seconds since system startup." It's an NSTimeInterval.

I'd like to generate, as efficiently as possible, an equivalent number. Of course, I want to do this where UIEvent don't shine. :-)

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c