Tutorial: Creating Great Looking Button Transitions With Core Graphics And Swift

Back in February I mentioned an interesting library providing navigation bar buttons with slick animations between them.

Here’s a nice tutorial showing how to create a slick transition between two buttons using Core Graphics in Swift from Robert Böhnke.

Robert explains how he drew the different buttons, used Paint Code for automatically creating code from images for the trickier paths, and explains step by step how he animated each individual line stroke to achieve a “hamburger button” type effect.

This image shows the final animation effect:

Hamburger-Button

You can find the tutorial on Robert’s blog here.

The source code can be found on Github here.

A nice guide and a stunning effect.

FacebookTwitterDiggStumbleUponGoogle Plus

Original article: Tutorial: Creating Great Looking Button Transitions With Core Graphics And Swift

©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *