MRTimer
- 授权协议: MIT
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: https://github.com/mrcrow/MRTimer
软件介绍
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];
}
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》 这本书的介绍吧!
