摘要: // 后台执行: dispatch_async(dispatch_get_global_queue(0, 0), ^{ // something }); // 主线程执行: dispatch_async(dispatch_get_main_queue(), ^{ // something }); // 一次性执行: static dispatch_once_t onceTo... 阅读全文
posted @ 2016-03-18 23:47 Ficow 阅读(221) 评论(0) 推荐(0) 编辑
摘要: #! /bin/bashmv ~/Library/Developer/Xcode/UserData/CodeSnippets ~/Library/Developer/Xcode/UserData/CodeSnippets.backup # rm ~/Library/Developer/Xcode/U 阅读全文
posted @ 2016-03-18 15:09 Ficow 阅读(262) 评论(0) 推荐(0) 编辑