会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
V清风
听说通往科技与人文的路上,老乔留下了点什么,我想去看看。
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
下一页
2016年1月7日
UIScrollView不能响应touch事件的解决办法
摘要: UIScrollView本身事是不支持touch的,我们可以给她添加拓展#import "UIScrollView+util.h"@implementation UIScrollView (util)-(void)touchesBegan:(NSSet *)touches withEvent:(UI...
阅读全文
posted @ 2016-01-07 09:13 V清风
阅读(501)
评论(0)
推荐(0)
2015年12月31日
本地代码上传 -> Github
摘要: 首先在控制台cd到你的本地项目,这里以teat为例1.执行命令: git init2.将项目文件添加到仓库中: git add . (可以是指定文件,将“.”转换为指定文件)3.接下来commit添加的文件: git commit -m '将teat的所有文件commit到仓库'4.在你的GitHu...
阅读全文
posted @ 2015-12-31 15:05 V清风
阅读(169)
评论(0)
推荐(0)
更新Xcode7 后 .dylib变成了.tbd的问题解决
摘要: 拿添加libsqlite3.dylib为例1.打开你添加的libsqlite3.tbd 文本文件,然后有一行 install-name:/usr/lib/libsqlite3.dylib 。command+c复制下来,一会儿需要2.在添加动态库的窗口的左下角有个Add Other...,点击选择进入...
阅读全文
posted @ 2015-12-31 11:30 V清风
阅读(1343)
评论(0)
推荐(0)
2015年12月30日
简单地新闻头条滚动效果
摘要: https://github.com/White007/ADScrollView
阅读全文
posted @ 2015-12-30 11:41 V清风
阅读(219)
评论(0)
推荐(0)
关于User Defined Runtime Attributes的小技巧
摘要: 在用XIB里自定制view,button,label...的一些属性时,例如边框宽度,边框颜色等,如下图:在User Defined Runtime Attributes里添加你需要改变的属性名,属性类型即可。在设置颜色时要注意,因为bordercolor是CGColorRef类型的,所以你要拓展C...
阅读全文
posted @ 2015-12-30 11:35 V清风
阅读(258)
评论(0)
推荐(0)
NSUserDefaults 很详细的介绍使用(转发)
摘要: http://my.oschina.net/u/1245365/blog/294449
阅读全文
posted @ 2015-12-30 11:31 V清风
阅读(100)
评论(0)
推荐(0)
UIView -> image & 本地时间获取
摘要: //UIView 转换为图片UIGraphicsBeginImageContext(self.rootsView.bounds.size);[_rootsView.layer renderInContext:UIGraphicsGetCurrentContext()];UIImage *viewBe...
阅读全文
posted @ 2015-12-30 11:30 V清风
阅读(275)
评论(0)
推荐(0)
SVN的使用(转发)
摘要: http://my.oschina.net/joanfen/blog/194491?fromerr=LM5QY3YF
阅读全文
posted @ 2015-12-30 11:23 V清风
阅读(231)
评论(0)
推荐(0)
键盘遮挡住输入框的问题
摘要: 注册键盘弹起与收起通知[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillShow:) name:UIKeyboardWillShowNotification object:ni...
阅读全文
posted @ 2015-12-30 11:22 V清风
阅读(175)
评论(0)
推荐(0)
iOS: TableView如何刷新指定的cell 或section
摘要: //一个section刷新 NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:2]; [tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAut...
阅读全文
posted @ 2015-12-30 10:14 V清风
阅读(409)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告