Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 0.35 KB | None | 0 0
  1. let animationOptions: UIViewAnimationOptions = .curveEaseOut
  2.  
  3.  var keyframeAnimationOptions: UIViewKeyframeAnimationOptions!
  4.  
  5. keyframeAnimationOptions = UIViewKeyframeAnimationOptions(rawValue: animationOptions.rawValue)
  6.  
  7. // Tu use comme ca
  8. UIView.animateKeyframes(withDuration: 0.4, delay: 0, options: self.keyframeAnimationOptions, animations: {
  9.  
  10. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement