上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页

2015年4月26日

IOS 第三方开源库记录

摘要: 网易客户端使用1.ZipArchive2.wax3.TTTAttributedLabel4.SSKeychain5.SDWebImage6.RegexKitLite7.pop8.NJKWebViewProgress9.MGTemplateEngine10.masonry (http://www.co... 阅读全文

posted @ 2015-04-26 08:41 景树园 阅读(250) 评论(0) 推荐(0)

2015年4月21日

UITextView 相关知识点

摘要: 1.得到UITextView的高度- (CGRect)contentSizeRectForTextView:(UITextView *)textView{ [textView.layoutManager ensureLayoutForTextContainer:textView.textConta... 阅读全文

posted @ 2015-04-21 12:34 景树园 阅读(248) 评论(0) 推荐(0)

2015年3月6日

临时记录地址

摘要: 内存,leaks 地址http://blog.csdn.net/sqc3375177/article/details/23300527 阅读全文

posted @ 2015-03-06 12:22 景树园 阅读(98) 评论(0) 推荐(0)

2015年3月3日

IOS 疑问记录

摘要: 1. NSThread 中的 NSRunLoop2. NSThread 中的performSelector:onThread:withObject:waitUntilDone: 阅读全文

posted @ 2015-03-03 21:15 景树园 阅读(101) 评论(0) 推荐(0)

NSThread 多线程相关

摘要: 1.下面的代码,有2点需要注意,1>就是 就是thread:所传得参数,这里传得的是nsarray 当然也可以传其他的类型。2>[self performSelectorOnMainThread:@selector(update) withObject:nil waitUntilDone:YES]... 阅读全文

posted @ 2015-03-03 19:59 景树园 阅读(131) 评论(0) 推荐(0)

2015年2月7日

http://blog.csdn.net/jbb0403/article/details/42102527

摘要: http://blog.csdn.net/jbb0403/article/details/42102527 阅读全文

posted @ 2015-02-07 22:37 景树园 阅读(119) 评论(0) 推荐(0)

2014年8月11日

IOS color 颜色值比较

摘要: /生成采样对照颜色(黑色)UIColor*sampleColor=[UIColorcolorWithRed:(0/255.0f)green:(0/255.0f) blue:(0/255.0f)alpha:(255/255.0f)];//比较 if(CGColorEqualToColor(detect... 阅读全文

posted @ 2014-08-11 20:44 景树园 阅读(523) 评论(0) 推荐(0)

2014年8月4日

IOS 点击按钮 光环 冲击波效果

摘要: UIBezierPath* path = [UIBezierPathbezierPathWithArcCenter:CGPointMake(0,0)radius:ROUND_WIDTH/2-3startAngle:0endAngle:2*M_PIclockwise:YES]; CAShapeLay... 阅读全文

posted @ 2014-08-04 09:40 景树园 阅读(544) 评论(0) 推荐(0)

IOS UIView(UIButton)通过显示动画移动的时候 响应点击的解决方案

摘要: 今天在做一个UIButton显示动画的时候,遇到一个问题,就是在移动的时候 ,需要相应它的点击时间(click)通过CAKeyframeAnimation 来移动UIButton的layer ,效果可以,但是就是无法点击。解决方法:将UIButton 的 userinterfaceenable 设置... 阅读全文

posted @ 2014-08-04 09:34 景树园 阅读(1072) 评论(0) 推荐(0)

2014年7月15日

UIBezierPath 贝塞尔曲线

摘要: 1. UIBezierPath* path = [UIBezierPathbezierPathWithRoundedRect:CGRectMake(30,30,100,100)cornerRadius:0]; CAShapeLayer* layer = [CAShapeLayerlayer]; l... 阅读全文

posted @ 2014-07-15 14:49 景树园 阅读(703) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页

导航