8th December
2008
So you have 2 different ways of doing something but you are not sure which is faster, well now you do just add this to your code.
NSTimeInterval t = [NSDate timeIntervalSinceReferenceDate];
…
NSLog(@”Took %f seconds”, [NSDate timeIntervalSinceReferenceDate] - t);
Enjoy
