Skip to content

Instantly share code, notes, and snippets.

@nvkiet
Last active August 29, 2015 14:01
Show Gist options
  • Save nvkiet/ddb0b0de1e7c9df37996 to your computer and use it in GitHub Desktop.
Save nvkiet/ddb0b0de1e7c9df37996 to your computer and use it in GitHub Desktop.
NSDate *start = [NSDate date];
NSDate *methodFinish = [NSDate date];
NSTimeInterval executionTime = [methodFinish timeIntervalSinceDate:start];
NSLog(@"Execution Time: %f", executionTime);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment