12 2015 档案
摘要:首先在控制台cd到你的本地项目,这里以teat为例1.执行命令: git init2.将项目文件添加到仓库中: git add . (可以是指定文件,将“.”转换为指定文件)3.接下来commit添加的文件: git commit -m '将teat的所有文件commit到仓库'4.在你的GitHu...
阅读全文
摘要:拿添加libsqlite3.dylib为例1.打开你添加的libsqlite3.tbd 文本文件,然后有一行 install-name:/usr/lib/libsqlite3.dylib 。command+c复制下来,一会儿需要2.在添加动态库的窗口的左下角有个Add Other...,点击选择进入...
阅读全文
摘要:https://github.com/White007/ADScrollView
阅读全文
摘要:在用XIB里自定制view,button,label...的一些属性时,例如边框宽度,边框颜色等,如下图:在User Defined Runtime Attributes里添加你需要改变的属性名,属性类型即可。在设置颜色时要注意,因为bordercolor是CGColorRef类型的,所以你要拓展C...
阅读全文
摘要:http://my.oschina.net/u/1245365/blog/294449
阅读全文
摘要://UIView 转换为图片UIGraphicsBeginImageContext(self.rootsView.bounds.size);[_rootsView.layer renderInContext:UIGraphicsGetCurrentContext()];UIImage *viewBe...
阅读全文
摘要:http://my.oschina.net/joanfen/blog/194491?fromerr=LM5QY3YF
阅读全文
摘要:注册键盘弹起与收起通知[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillShow:) name:UIKeyboardWillShowNotification object:ni...
阅读全文
摘要://一个section刷新 NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:2]; [tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAut...
阅读全文

浙公网安备 33010602011771号