Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extension UIView.AnimationCurve {
- var animationOption: UIView.AnimationOptions {
- switch self {
- case .easeInOut:
- return .curveEaseInOut
- case .easeIn:
- return .curveEaseIn
- case .easeOut:
- return .curveEaseOut
- case .linear:
- return .curveLinear
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement