Szybka łatwość w AnimateKeyFrames

extension UIView.KeyframeAnimationOptions {
    init(animationOptions: UIView.AnimationOptions) {
        self.init(rawValue: animationOptions.rawValue)
    }
}
// Usage:
UIView.KeyframeAnimationOptions(animationOptions: .curveEaseOut)
TheKrisinator