Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift ease in out animatekeyframes

extension UIView.KeyframeAnimationOptions {
    init(animationOptions: UIView.AnimationOptions) {
        self.init(rawValue: animationOptions.rawValue)
    }
}
// Usage:
UIView.KeyframeAnimationOptions(animationOptions: .curveEaseOut)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swift #ease #animatekeyframes
ADD COMMENT
Topic
Name
1+9 =