📜  快速缓解动画关键帧 - Swift 代码示例

📅  最后修改于: 2022-03-11 15:01:01.389000             🧑  作者: Mango

代码示例1
extension UIView.KeyframeAnimationOptions {
    init(animationOptions: UIView.AnimationOptions) {
        self.init(rawValue: animationOptions.rawValue)
    }
}
// Usage:
UIView.KeyframeAnimationOptions(animationOptions: .curveEaseOut)