Quantcast
Viewing latest article 7
Browse Latest Browse All 8

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

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 latest article 7
Browse Latest Browse All 8

Trending Articles



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