ios facebook 开源动画 pop 常用动画
2015-12-19 14:55
537 查看
图形变换
POPSpringAnimation *springAnimation = [POPSpringAnimation
animation];
springAnimation.property = [POPAnimatableProperty
propertyWithName:kPOPViewCenter];
springAnimation.toValue = [NSValue
valueWithCGPoint:CGPointMake(300,
400)];
springAnimation.velocity = [NSValue
valueWithCGPoint:CGPointMake(300,
1000000)];
//转角
点
[view pop_addAnimation:springAnimation
forKey:@"center"];
POPSpringAnimation *springAnimation = [POPSpringAnimation
animation];
springAnimation.property = [POPAnimatableProperty
propertyWithName:kPOPViewCenter];
springAnimation.toValue = [NSValue
valueWithCGPoint:CGPointMake(300,
400)];
springAnimation.velocity = [NSValue
valueWithCGPoint:CGPointMake(300,
1000000)];
//转角
点
[view pop_addAnimation:springAnimation
forKey:@"center"];
相关文章推荐
- iOS Json解析中特殊字符串('\' '\r' '\n' ' ' 等)处理
- iOS中的ARC和MRC环境下的单例设计模式的分析
- iOS 文件管理
- iOS剩余存储空间
- iOS开发,初探离屏渲染
- ios7 push/pop转场动画
- iOS Programming 101: Record and Play Audio using AVFoundation Framework
- iOS中崩溃调试的使用和技巧总结 韩俊强的博客
- iOS崩溃调试的使用和技巧总结
- ios 友盟集成分享 细节
- Expected identifier or '(' Unknown type name 'NSString'
- iOS开发正则表达式的使用
- storyboard xib下label怎么自适应宽度高度
- ios Foundation框架中的可变和不可变对象NSArray 和NSMutableArray(二)
- iOS9.0 NSLayoutAnchor初探
- 整理下iOS常用的三方库,以备查阅
- iOS 引导页
- 如何设计一个 iOS 控件?(iOS 控件完全解析)
- iOS中出现循环引用时常见的三种情况
- iOS崩溃调试的使用和技巧总结