爱意满满的作品展示区。
Draven

DKChainableAnimationKit 使用链式语法为 iOS swift 应用添加动画 //view.animation.makeScale(2.0).spring.animate(1.0)

  •  1
     
  •   Draven ·
    draveness · May 16, 2015 · 3336 views
    This topic created in 4014 days ago, the information mentioned may be changed or developed.


    DKChainableAnimationKit 是对 UIView 和 CAAnimation 的封装. 它是一个 DSL, 能够帮助你更快的构建动画.




    DKChainableAnimationKit

    使用 DKChainableAnimationKit, 你不需要再写冗长的 UIView 动画.

    view.animation.makeScale(2.0).spring.animate(1.0)
    

    源代码戳这里

    2 replies    2015-05-16 21:46:52 +08:00
    hoogle
        1
    hoogle  
       May 16, 2015
    不错。。 想写个类似 obj-c 的。
    Draven
        2
    Draven  
    OP
       May 16, 2015
    @hoogle objc 的已经有了. 这个是就是移植的原objc 代码.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4591 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 10:10 · PVG 18:10 · LAX 03:10 · JFK 06:10
    ♥ Do have faith in what you're doing.