摘要: /*** 获取本周、本季度、本月、上月的开始日期、结束日期*/var now = new Date(); //当前日期 var nowDayOfWeek = now.getDay(); //今天本周的第几天 var nowDay = now.getDate(); //当前日 var nowMonth 阅读全文
posted @ 2017-11-29 16:48 前路弯弯 阅读(196) 评论(0) 推荐(0)
摘要: 本文转自 http://blog.csdn.net/minjing_lin/article/details/50678708 1.生成ssh 在桌面右键,选择Git Bash Here,进入操作界面,输入“ssh-keygen -t rsa -b 4096 -c "xxxxxxxx@xxx.com( 阅读全文
posted @ 2017-08-18 15:57 前路弯弯 阅读(2902) 评论(0) 推荐(0)
摘要: 系统自带的模态转场动画 typedef NS_ENUM(NSInteger, UIModalTransitionStyle) { UIModalTransitionStyleCoverVertical = 0,//底部向上 UIModalTransitionStyleFlipHorizontal _ 阅读全文
posted @ 2016-11-07 15:53 前路弯弯 阅读(783) 评论(0) 推荐(0)
摘要: 原文链接:http://www.jianshu.com/p/c973817d40c8 系统支持横屏顺序默认读取plist里面设置的方向(优先级最高)等同于Xcode Geneal设置里面勾选application window设置的级别次之然后是UINavigationcontroller级别最低的 阅读全文
posted @ 2016-10-10 13:53 前路弯弯 阅读(387) 评论(0) 推荐(0)
摘要: 原文出自 http://blog.qiji.tech/archives/8335#RegEx_Categories [iOS] 利用 NSAttributedString 进行富文本处理 /iOS /[iOS] 利用 NSAttributedString 进行富文本处理 2016年4月4日 刘小龙 阅读全文
posted @ 2016-08-29 12:12 前路弯弯 阅读(5225) 评论(0) 推荐(0)
摘要: 倒减回退的图层数量即可 [self.navigationController popToViewController:self.navigationController.viewControllers[self.navigationController.viewControllers.count-2 阅读全文
posted @ 2016-08-17 17:46 前路弯弯 阅读(443) 评论(0) 推荐(0)
摘要: http://www.jianshu.com/p/4bfcae659a44 常用修改方案: self.acceptableContentTypes = [NSSet setWithObjects:@"application/json", @"text/json", @"text/javascript 阅读全文
posted @ 2016-08-17 17:44 前路弯弯 阅读(118) 评论(0) 推荐(0)
摘要: #import "BaseNavigationViewController.h" @interface BaseNavigationViewController ()<UINavigationControllerDelegate> @end @implementation BaseNavigatio 阅读全文
posted @ 2016-07-28 09:55 前路弯弯 阅读(195) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2016-06-06 16:57 前路弯弯 阅读(2) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2016-05-23 16:50 前路弯弯 阅读(1) 评论(0) 推荐(0)