NSDate *methodStart = [NSDate date];

     NSDate *methodFinish = [NSDate date];

    NSTimeInterval executionTime = [methodFinish timeIntervalSinceDate:methodStart];

    NSLog(@”executionTime = %f”, executionTime);

Advertisements