问题标签 [spring-swift]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
swift - 在 Swift 中使用 Spring 链接动画将无法正常工作
我试过用 Spring 链接动画,但遗憾的是,文档对链接动画(https://github.com/MengTo/Spring)非常不清楚。
我还看到有些人问了同样的问题,但不知何故,他们的答案对我不起作用。( Spring Meng To 链接动画?,https://github.com/MengTo/Spring/issues/123 )
我尝试过使用 Spring 示例中的链:
这里第一个动画有效,但第二个动画是“fadeOut”和反向播放的“slideRight”的组合。
然后我尝试使用 PromiseKit 的 Promises ( https://github.com/mxcl/PromiseKit ):
这导致仅快速播放第二个动画“fadeOut”。
谁能解释一下这三个功能:
因为我发现很难理解他们到底在做什么。
感谢您的帮助,我非常感谢,我很高兴关于我的代码的各种建议!:)
最好的