04

Learn how to make a cool animation like in the Ping app, using the UIViewControllerAnimatedTransitioning protocol!

The makers of the anonymous social networking app Secret recently released a new app called Ping, which allows users to receive notifications about topics they’re interested in.

One thing that stood out about Ping is its nice, circular animation between the main screen and the menu, as you can see in the animation to the right.

Every time I see a really neat animation, I do what everybody does: I think “Now how would I implement that on iOS…” — wait, normal people don’t think that?! :]

In this tutorial, you’ll learn how to implement this cool animation in Swift. In the process, you’ll learn about using shape layers, masking, the UIViewControllerAnimatedTransitioning protocol, the UIPercentDrivenInteractiveTransition class, and more.

Read more on raywenderlich.com