Quantcast
Channel: Getting time elapsed in Objective-C - Stack Overflow
Viewing all articles
Browse latest Browse all 8

Answer by Can Berk Güder for Getting time elapsed in Objective-C

$
0
0
NSDate *start = [NSDate date];// do stuff...NSTimeInterval timeInterval = [start timeIntervalSinceNow];

timeInterval is the difference between start and now, in seconds, with sub-millisecond precision.


Viewing all articles
Browse latest Browse all 8

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>