To run the example project, clone the repo, and run pod install
from the Example directory first.
AMEAspectSpeedometer aspectSpeedometer = [AMEAspectSpeedometer new];
[aspectSpeedometer measureWithName:@"test"
target:self
around:@selector(returnNumber)
usingReportBlock:^(AMESpeedometerReport *report) { NSLog(@"%@", report); }];
[aspectSpeedometer measureWithName:@"test tap start and finish"
target:self
start:@selector(tapStartButton:)
finish:@selector(tapFinishButton:)
usingReportBlock:^(AMESpeedometerReport *report) {
NSLog(@"%@", report);
self.label.text = [NSString stringWithFormat:@"elapsed time: %f", report.elapsedTime];
}];
AMEAspectSpeedometer is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "AMEAspectSpeedometer"
ainame, s.namai.09@gmail.com
AMEAspectSpeedometer is available under the MIT license. See the LICENSE file for more info.