📅  最后修改于: 2022-03-11 15:01:01.389000             🧑  作者: Mango
extension UIView.KeyframeAnimationOptions {
init(animationOptions: UIView.AnimationOptions) {
self.init(rawValue: animationOptions.rawValue)
}
}
// Usage:
UIView.KeyframeAnimationOptions(animationOptions: .curveEaseOut)