摘要: 1、将文件checkout到本地目录 svn checkout path(path是服务器上的目录) 例如:svn checkout svn://192.168.1.1/pro/domain 简写:svn co 2、往版本库中添加新的文件 svn add file 例如:svn add test.p 阅读全文
posted @ 2017-01-06 15:12 蓝天下的田埂上 阅读(111) 评论(0) 推荐(0) 编辑
摘要: //使用swift的朋友们可以,把这个所在的类的.h,在-Header-Swift.h中一用一下。 - (UIImage *)fixOrientation:(UIImage *)aImage { if (aImage.imageOrientation == UIImageOrientationUp) 阅读全文
posted @ 2017-01-06 15:05 蓝天下的田埂上 阅读(1736) 评论(0) 推荐(0) 编辑
摘要: AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager]; manager.responseSerializer.acceptableContentTypes=[NSSet setWithObje 阅读全文
posted @ 2017-01-06 14:58 蓝天下的田埂上 阅读(3221) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/jymn_chen/article/details/19213601 引言 在使用CocoaPods(一)为项目配置第三方类库我们使用CocoaPods非常高效地将一些第三方类库导入到我们的项目中,但是不由得产生一个疑问:如果发现某个类库不适用,甚至是 阅读全文
posted @ 2017-01-06 14:21 蓝天下的田埂上 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Code4App 原创文章。转载请注明出处:http://code4app.com/article/cocoapods-install-usage CocoaPods是什么? 当你开发iOS应用时,会经常使用到很多第三方开源类库,比如JSONKit,AFNetWorking等等。可能某个类库又用到其 阅读全文
posted @ 2017-01-06 14:18 蓝天下的田埂上 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 一般做登录界面或者要填写表之类的页面会经常使用到textfield。使用很简单,但是其实他有很多小的处理细节,这回让你显得有经验,交互性很好。在这里呢,我就直接拿stroyboard中的截图来说。 clear button: appers while editing//选这个,编辑的时候会出现那个半 阅读全文
posted @ 2017-01-05 17:40 蓝天下的田埂上 阅读(127) 评论(0) 推荐(0) 编辑
摘要: let past = UIPasteboard.generalPasteboard() past.string = pasteboardStr // pasteboardStr就是你要复制的字符串 SVProgressHUD.showInfoWithStatus(String(format: "订单 阅读全文
posted @ 2017-01-05 17:25 蓝天下的田埂上 阅读(834) 评论(0) 推荐(0) 编辑
摘要: UIView.animateWithDuration(0.5, delay: 0.0, usingSpringWithDamping: 0.3, initialSpringVelocity: 0.0, options: UIViewAnimationOptions.CurveEaseInOut, a 阅读全文
posted @ 2017-01-05 17:22 蓝天下的田埂上 阅读(1678) 评论(0) 推荐(0) 编辑
摘要: 开发工具带的swift2.3,3.0的朋友们改改语法吧! 首先要有一个UIimageview然后: 我是声明了一个全局的UIVisualEffectView private var effectView: UIVisualEffectView! let blur = UIBlurEffect(sty 阅读全文
posted @ 2017-01-05 16:02 蓝天下的田埂上 阅读(1258) 评论(0) 推荐(0) 编辑
摘要: func selctAll() { idArr.removeAll() for var i = 0; i<sellingArr.count; i++ { let path: NSIndexPath = NSIndexPath(forRow: i, inSection: 0) self.tableVi 阅读全文
posted @ 2017-01-05 15:53 蓝天下的田埂上 阅读(166) 评论(0) 推荐(0) 编辑