- 博客(5)
- 资源 (1)
- 收藏
- 关注
转载 Fork别人的代码 原作者更新后如何同步
原文链接: https://www.luodaoyi.com/zatan/11.html 我的博客主题是直接fork原作者的,所以当原作者更新之后,我要合并冲突,跟随更新 下面说一下简单的方法,算是自己做个笔记 给主题的fork加一个remote 给 fork 配置一个 remote使用 git remote -v 查看远程状态 ➜ next git:(mas
2016-04-25 08:19:11 1515
原创 AVCaptureSession横屏下图层方向问题(swift)
http://stackoverflow.com/questions/24110610/enum-conversion-of-uiinterfaceorientation-to-avcapturevideoorientation-in-swift As I noted in my comments, since AVCaptureVideoOrientation and UIIn
2016-04-12 14:53:39 1997
原创 svn删除文件引起的“...”missing from working copy
消除警告 1. cd到目录下 2. svn delete 缺失的文件
2016-04-12 09:16:20 660
原创 如何为UICollectionView的每一个组设置不同的颜色
stackoverflow上的答案 点击打开链接 比较简单的实现方法是重写布局,使用 layoutAttributesForDecorationViewOfKind:atIndexPath 方法 http://www.ericjchapman.com/ios-changing-the-section-background-color-in-a-uicollectio
2016-04-06 12:07:58 2201
原创 swift为可选类型添加扩展
如给string的可选类型添加扩展, 我们可以这么写 protocol StringType { var get:String { get } } extension String:StringType{ var get:String{ return self } } ext
2016-04-06 11:45:48 636
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人