• CASpringAnimation


    iOS9新出现的

    /** Subclass for mass-spring animations. */

    @interface CASpringAnimation : CABasicAnimation

    /* The mass of the object attached to the end of the spring. Must be greater

       than 0. Defaults to one. */

    @property CGFloat mass;

    /* The spring stiffness coefficient. Must be greater than 0.

     * Defaults to 100. */

    @property CGFloat stiffness;

    /* The damping coefficient. Must be greater than or equal to 0.

     * Defaults to 10. */

    @property CGFloat damping;

    /* The initial velocity of the object attached to the spring. Defaults

     * to zero, which represents an unmoving object. Negative values

     * represent the object moving away from the spring attachment point,

     * positive values represent the object moving towards the spring

     * attachment point. */

    @property CGFloat initialVelocity;

    /* Returns the estimated duration required for the spring system to be

     * considered at rest. The duration is evaluated for the current animation

     * parameters. */

    @property(readonly) CFTimeInterval settlingDuration;

    @end

  • 相关阅读:
    web端
    vue 键盘事件keyup/keydoen
    APiCloud
    APiCloud
    对于HTML和XML的理解
    JS 的三种定义变量 var let const
    jQuery
    NodeJS 阻塞/非阻塞
    NodeJs REPL交互式解析器常用命令
    用NodeJS创建一个聊天服务器
  • 原文地址:https://www.cnblogs.com/yintingting/p/4692931.html
Copyright © 2020-2023  润新知