上一页 1 2 3 4 5 6 7 8 9 10 ··· 25 下一页
摘要: pod install --verbose --no-repo-update pod update --verbose --no-repo-update <!--EndFragment--> 阅读全文
posted @ 2019-04-17 08:39 ximenchuixie 阅读(142) 评论(0) 推荐(0) 编辑
摘要: xcodebuild clean -workspace Myproject.xcworkspace -scheme myProject xcodebuild archive -workspace Myproject.xcworkspace -scheme myProject -configurati 阅读全文
posted @ 2019-03-22 15:14 ximenchuixie 阅读(149) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/cxq0017/p/6074247.html 通过虚函数实现,普通函数在编译过程中即确定了函数的地址,虚函数的函数地址是在程序运行的时候确定的,有虚函数的类在对象初始化的时候会生成一个虚函数表和虚函数指针,虚函数指针指向此类的虚函数表,所以当一个对象调 阅读全文
posted @ 2019-03-16 06:10 ximenchuixie 阅读(151) 评论(0) 推荐(0) 编辑
摘要: Autolayout Engine根据视图间的约束关系得到一个线性方程组,求这个线性方程组的解即得到每个视图的位置信息。(x,y,width,height) 参考: https://www.jianshu.com/p/3a872a0bfe11 阅读全文
posted @ 2019-02-23 16:12 ximenchuixie 阅读(306) 评论(0) 推荐(0) 编辑
摘要: xcrun simctl list //显示模拟器列表 xcrun simctl boot [模拟器id] //启动模拟器 阅读全文
posted @ 2019-02-22 15:23 ximenchuixie 阅读(114) 评论(0) 推荐(0) 编辑
摘要: https://www.charlesproxy.com/documentation/using-charles/ssl-certificates/ https://support.apple.com/en-nz/HT204477 阅读全文
posted @ 2019-02-22 15:23 ximenchuixie 阅读(530) 评论(0) 推荐(0) 编辑
摘要: find . -name "DerivedData" -type d -exec rm -r "{}" \; 阅读全文
posted @ 2019-02-19 20:59 ximenchuixie 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 触摸发生时,UIWindow会有一个队列来存放所有的触摸事件,然后再把这些事件发送给对应的hit-test view,hit-test view会通过touch的四个函数来接收这些事件。 四个函数分别为:(began,move, end, cancel) //touches method - (vo 阅读全文
posted @ 2019-02-12 19:01 ximenchuixie 阅读(322) 评论(0) 推荐(0) 编辑
摘要: block在赋值时才会生成对应的block结构体实例(结构体数据结构在编译时已经生成),赋值时会扫一遍里面引用的外部变量(嵌套block中的外部变量也算,只不过嵌套block中的外部变量会被内外两个block都引用),然后在结构体里生成对外部变量的引用,结构体对象生成的时候是在栈上,赋值的时候会拷贝 阅读全文
posted @ 2019-02-12 15:07 ximenchuixie 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 不包含隐藏文件 du -sh * 包含隐藏文件 du -sh .[!.]* * 按大小排序: du -sh * | sort -r -h -r: 反序 -h: 告诉sort命令前一个输出是人类可读格式(human-readable format) 阅读全文
posted @ 2019-01-22 16:33 ximenchuixie 阅读(283) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 25 下一页