быстро легко облегчить
extension UIView.KeyframeAnimationOptions {
init(animationOptions: UIView.AnimationOptions) {
self.init(rawValue: animationOptions.rawValue)
}
}
// Usage:
UIView.KeyframeAnimationOptions(animationOptions: .curveEaseOut)
TheKrisinator