摘要: -bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory 好久没用更新第三方库了 阅读全文
posted @ 2018-04-24 10:05 iOS张文权 阅读(558) 评论(0) 推荐(0) 编辑
摘要: 框架层: NSDate 属于Foundation CFAbsoluteTimeGetCurrent() 属于 CoreFoundatio CACurrentMediaTime() 属于 QuartzCore 本质区别: NSDate 或 CFAbsoluteTimeGetCurrent() 返回的时 阅读全文
posted @ 2018-04-24 09:33 iOS张文权 阅读(639) 评论(0) 推荐(0) 编辑
摘要: CFAbsoluteTime start = CFAbsoluteTimeGetCurrent(); //在这写入要计算时间的代码 // do something CFAbsoluteTime end = CFAbsoluteTimeGetCurrent(); NSLog(@"%f", end - 阅读全文
posted @ 2018-04-24 09:30 iOS张文权 阅读(591) 评论(0) 推荐(0) 编辑