title: Override show segue ( transmition left to right )
body: <p>I want to override the Show Segue , And change it to be from left to right .</p>
  
  <p>I tried to make a custom segue and it worked pretty well but without the navigation bar</p>
  
  <p>So , I need a segue from left to right and a navigation bar with button  on the top right (to go back) .</p>
  
  <p>My Code</p>
  
  <pre><code>    import UIKit
  
  class SegueFromLeft: UIStoryboardSegue
  {
      override func perform()
      {
          let src = self.sourceViewController
          let dst = self.destinationViewController
  
          src.view.superview?.insertSubview(dst.view, aboveSubview: src.view)
          dst.view.transform = CGAffineTransformMakeTranslation(-src.view.frame.size.width, 0)
  
          UIView.animateWithDuration(0.25,
              delay: 0.0,
              options: UIViewAnimationOptions.CurveEaseInOut,
              animations: {
                  dst.view.transform = CGAffineTransformMakeTranslation(0, 0)
              },
              completion: { finished in
                  src.presentViewController(dst, animated: false, completion: nil)
              }
          )
      }
  }
  </code></pre>