How to animate views with spring damping using animate(withDuration:) – free Swift 4 example code and tips

How to animate views with spring damping using animate(withDuration:) – free Swift 4 example code and tips