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:
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.
- Open Source iOS Component For Creating Great Looking Custom Alert Views Made With Swift
- Tutorial: Avoiding Issues When Moving From Objective-C To Swift
- Tutorial: Creating A Candy Crush Style Game In Swift With Sprite Kit
- Tutorial: Calculator App Style Glossy Buttons With Core Graphics
- An Open Source Swift Library For Easily Creating Much More Useful Logging Statements
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.





