MRTimer

码农软件 · 软件分类 · 其他(Others) · 2019-07-24 10:44:13

软件介绍

MRTimer 是一个简单的 iOS 工具,用来计算方法的执行时间。

示例代码:

- (void)viewDidLoad 
{
    [super viewDidLoad];
    [MRTimer observeSelector:@selector(doSomething) timeIntervalBlock:^(NSTimeInterval interval) {
        NSLog(@"Time interval for selector: (%@, %f), NSStringFromSelector(doSomething), interval);
    }];
}

- (void)doSomething
{
    [MRTimer observeBegin:MR_SELECTOR];

    ...

    [MRTimer observeEnd:MR_SELECTOR];
}

本文地址:https://www.codercto.com/soft/d/10823.html

Tales from Facebook

Tales from Facebook

Daniel Miller / Polity Press / 2011-4-1 / GBP 55.00

Facebook is now used by nearly 500 million people throughout the world, many of whom spend several hours a day on this site. Once the preserve of youth, the largest increase in usage today is amongst ......一起来看看 《Tales from Facebook》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具