iOS 10 has added the UIViewPropertyAnimator providing a much cleaner syntax for creating UIView animations, adding an animation curve and allowing you to start and stop animations.
Here’s a tutorial from Yari D’areglia providing a nice overview of UIViewPropertyAnimator. The topics covered include:
- An overview of the different animation states
- Setting up basic animation options
- Creating animation blocks for more complex animations
- Interacting with the animation flow
You can find UIViewPropertyAnimator on the Think and Build It site.
A nice straightforward guide to using the UIViewPropertyAnimator class.