10 2015 档案

UITableView 点击展开的实现
摘要:推介看下这里的 内容 http://www.cnblogs.com/kenshincui/p/3931948.htmlIOS8 aboveUITabliViewCell 利用 autolayout 实现的,这里就不多说了主要代码1. self.tableView.rowHeight = UITabl... 阅读全文

posted @ 2015-10-16 11:06 景树园 阅读(215) 评论(0) 推荐(0)

BLOCK 死循环
摘要:__weaktypeof(self)weakSelf=self;myObj.myBlock=^{__strongtypeof(self)strongSelf=weakSelf;if(strongSelf){[strongSelfdoSomething];//strongSelf!=nil//pree... 阅读全文

posted @ 2015-10-14 21:33 景树园 阅读(237) 评论(0) 推荐(0)

CABasicAnimation 使用
摘要:1. 基本使用 UIView * view = [[UIView alloc]initWithFrame:CGRectMake(50, 50, 50,50)]; view.backgroundColor = [UIColor orangeColor]; [self.view addSubview... 阅读全文

posted @ 2015-10-14 10:36 景树园 阅读(208) 评论(0) 推荐(0)

CABasicAnimation(CAKeyframeAnimation)keypath 取值
摘要:- keyPath可以使用的key- #define angle2Radian(angle) ((angle)/180.0*M_PI)- transform.rotation.x 围绕x轴翻转 参数:角度 angle2Radian(4)transform.rotation.y 围绕y轴翻转 参数:同... 阅读全文

posted @ 2015-10-13 20:50 景树园 阅读(503) 评论(0) 推荐(0)

导航