This is the swift code for the tutorial "How to create custom ViewController transitions"