摘要: CGRectIntersection函数可以返回一个CGRect类型的值以表示两个CGRect类型变量的交集部分,如果不存在相交部分则返回CGRectIsNull可以通过CGRectIsNull函数判断一个CGRect类型的变量是否为CGRectNull示例代码:#import int main(i... 阅读全文
posted @ 2015-04-28 15:57 Xwoder 阅读(1260) 评论(0) 推荐(0) 编辑
摘要: dispatch_benchmark函数是libdispatch (Grand Central Dispatch) 的一部分,这个方法并没有被公开声明,所以必须要自己声明。简介:The dispatch_benchmark function executes the given block mult... 阅读全文
posted @ 2015-04-28 14:44 Xwoder 阅读(433) 评论(0) 推荐(0) 编辑