Jatin Mishra

Recently I had a requirement to show something like a “Hamburger Menu” in my iOS project, so I began searching for a way to present a ViewController sliding from a side of the screen into the view.

I came across some ways to achieve desirable effect using CATransition so I created a little extension to present and dismiss the ViewController as well with transitions.

How To Use

The extension can be used pretty easily like below:
The following gist shows how to show a ViewController named :) MyViewController like a standard “Hamburger Menu” entering the screen from the left side and exiting the screen from the right.


Using the above extension we can create something like this.