cell跳出动画
@import url(http://i.cnblogs.com/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
@import url(http://i.cnblogs.com/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
-(void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath{
CATransform3D rotation;
rotation = CATransform3DMakeRotation( (90.0*M_PI)/180, 0.0, 0.7, 0.4);
rotation.m34 = 1.0/ -600;
cell.layer.shadowColor = [[UIColor blackColor]CGColor];
cell.layer.shadowOffset = CGSizeMake(10, 10);
cell.alpha = 0;
cell.layer.transform = rotation;
cell.layer.anchorPoint = CGPointMake(0, 0.5);
[UIView beginAnimations:@"rotation" context:NULL];
[UIView setAnimationDuration:0.8];
cell.layer.transform = CATransform3DIdentity;
cell.alpha = 1;
cell.layer.shadowOffset = CGSizeMake(0, 0);
[UIView commitAnimations];
}
@import url(http://i.cnblogs.com/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
最新文章
- Django之Form、CSRF、cookie和session
- PHP文本框的值随下拉框改变
- Semantic UI 中文参考手册
- 关于comparable与comparator的用法(即自定义集合框架用法 )
- 识别低效率的SQL语句
- LeetCode Spiral Matrix II (技巧)
- [转] matlab figure最大化
- python开发中常见的小坑
- 使用IIS 7.0 Smooth Streaming 优化视频服务
- Maven学习小结(五 pom.xml详解[转])
- HW6.6
- hdu_2717_Catch That Cow_bfs
- Handlebars模板引擎之进阶
- [控件]unigui移动端下Unidatepicker时间显示解决方案
- JAVA框架 Spring 事务
- Kubernetes(k8s) docker集群搭建
- FineUI中在一个页面中通过控件事件(JS)向父页面中添加Tab页
- intrinsicConditionQueue笔记
- Islands and Bridges(POJ2288+状压dp+Hamilton 回路)
- 解决Visual C++工程中包含 .c 或cpp文件编译时产生的.pch预编译头错误(C1853)的办法