Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

handsomecode/iOS10-animations-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

7 Commits

Repository files navigation

iOS 10 Animation demo

If you like DotsAnimation, or the code was useful for you, please, give your ⭐ 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.

About

Demonstrating usage of iOS 10 Animations API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /