# iOS 10 Animation demo

**DotsAnimation sample** is a sequence of series of different, separate animations, created to demonstrate using iOS 10 Animations API, described in [the article](link to published article).

![Dots Animation Gif](https://d105kas4b86wc3.cloudfront.net/items/1i0S2H041O2S0K372g2I/dots.gif?v=8760973e "Dots Animation")

### Here are some of the things that you’ll find in the code
 
 * Creating of Animation Objects using custom timing functions:
    * Cubic Bézier curves;
    * New *UISpringTimingParameters* that allow manipulating the mass, stiffness, damping, and initial velocity parameters;
 * Adding new animation blocks to existing objects on the fly (take a look into *ViewController.startReversedDotsAnimation* method);
 * Adding completion action on the fly (it's used to begin new animations phase, when the third dot is finishing its last jump);
 * Other possibilities of working with *UIViewPropertyAnimator* objects.
 
### Requirements
- iOS 10.0+
- Xcode 8.1+
- Swift 3.0+

### License

Sample is released under the Apache License, Version 2.0. See LICENSE file for details.




# iOS 10 Animation demo

**DotsAnimation sample** is a sequence of series of different, separate animations, created to demonstrate using iOS 10 Animations API, described in [the article](http://handsome.is/crafting-delightful-animations-in-ios-10/).

![Dots Animation Gif](https://d105kas4b86wc3.cloudfront.net/items/1i0S2H041O2S0K372g2I/dots.gif?v=8760973e "Dots Animation")

### Here are some of the things that you’ll find in the code
 
 * Creating of Animation Objects using custom timing functions:
    * Cubic Bézier curves;
    * New *UISpringTimingParameters* that allow manipulating the mass, stiffness, damping, and initial velocity parameters;
 * Adding new animation blocks to existing objects on the fly (take a look into *ViewController.startReversedDotsAnimation* method);
 * Adding completion action on the fly (it's used to begin new animations phase, when the third dot is finishing its last jump);
 * Other possibilities of working with *UIViewPropertyAnimator* objects.
 
### Requirements
- iOS 10.0+
- Xcode 8.1+
- Swift 3.0+

### License

Sample is released under the Apache License, Version 2.0. See LICENSE file for details.




Add link to the article in ReadMe
Add link to the article in ReadMe