摘要:
NSString *strJTGZ = [NSString stringWithFormat:@"交通管制%d处 ",[jtgz intValue]]; NSMutableAttributedString *attributedStr = [[NSMutableAttributedString alloc]initWithString:strJTGZ]; [attribu... 阅读全文
posted @ 2016-08-26 09:53
J-Vijay
阅读(4163)
评论(0)
推荐(0)
摘要:
-(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer { // 首先判断otherGestureRecognizer是... 阅读全文
posted @ 2016-08-26 09:50
J-Vijay
阅读(3074)
评论(0)
推荐(0)
摘要:
CATransition *transition = [CATransition animation]; transition.duration = 1.0f; transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]; ... 阅读全文
posted @ 2016-08-26 09:49
J-Vijay
阅读(93)
评论(0)
推荐(0)
摘要:
最近看了看CoreGraphics的东西,看到关于CGColor的东西,于是就想着顺便看看UIColor,CIColor,弄清楚它们之间的区别和联系。下面我们分别看看它们三个的概念: 一、UIColor UIColor是UIKit中存储颜色信息的一个重要的类,一个UIColor对象包含了颜色和透明度 阅读全文
posted @ 2016-08-26 09:44
J-Vijay
阅读(207)
评论(0)
推荐(0)
摘要:
JSPatch,只需在项目中引入极小的引擎,就可以使用JavaScript调用任何Objective-C的原生接口,获得脚本语言的能力:动态更新APP,替换项目原生代码修复bug。 是否有过这样的经历:新版本上线后发现有个严重的bug,可能会导致crash率激增,可能会使网络请求无法发出,这时能做的 阅读全文
posted @ 2016-08-26 09:27
J-Vijay
阅读(544)
评论(0)
推荐(0)