Get Updates By E-mail 

Article Written By:
Johann Dowa

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments