How to animate a UIView
In this example we have two UIViews: one backgroundView which does not change, and one numberView which can be moved, for example by a pan gesture (we’re not dealing with that though) Once the user lets go of the movable numberView, we want to reset the view back to the middle, to the same position […]