Hello,
I would like to reproduce the iOS spring animations with tweenmax.
The idea is to get as close as possible to the rendering by passing a duration and a damping ratio.
UIView.animate(withDuration: duration,
delay: delay,
usingSpringWithDamping: dampingRatio,
initialSpringVelocity: 0, options: [],
animations: {
layerA.frame.origin.x = 300
},
completion: nil)
How can I proceed?
Thank you very much for your help.