IOS10 Animations Demo Save

Demonstrating usage of iOS 10 Animations API

Project README

iOS 10 Animation demo

If you like DotsAnimation, or the code was useful for you, please, give your :star: to this repository.

DotsAnimation sample is a sequence of series of different, separate animations, created to demonstrate usage of iOS 10 Animations API, described in the article.

Dots Animation Gif

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.

Open Source Agenda is not affiliated with "IOS10 Animations Demo" Project. README Source: handsomecode/iOS10-animations-demo
Stars
74
Open Issues
0
Last Commit
6 years ago
License

Open Source Agenda Badge

Open Source Agenda Rating