zoukankan      html  css  js  c++  java
  • iOS-常用的两个弹簧动画pop

    POPSpringAnimation *popAna = [POPSpringAnimation animationWithPropertyNamed:kPOPLayerPosition];
    popAna.springBounciness = 10;
    popAna.springSpeed = 10;
    popAna.toValue = [NSValue valueWithCGPoint:CGPointMake(self.width/2, self.height/2 - 100)];
    POPSpringAnimation *sprintAnimation = [POPSpringAnimation animationWithPropertyNamed:kPOPViewScaleXY];
    sprintAnimation.toValue = [NSValue valueWithCGPoint:CGPointMake(1.0, 1.0)];
    sprintAnimation.velocity = [NSValue valueWithCGPoint:CGPointMake(1.6, 1.6)];
    sprintAnimation.springBounciness = 10.f;
  • 相关阅读:
    threading学习
    Python基础-5
    BS4
    requests基础
    Python基础-4
    Python基础-3
    Python基础-2
    Python基础-1
    DevOps
    nginx配置ssl证书实现https
  • 原文地址:https://www.cnblogs.com/wangkejia/p/9830374.html
Copyright © 2011-2022 走看看