title: How to go back to previous view controller?
body: <p>I have an UIViewController A with push segue to UIViewController B, in some case i need to repeat this for example: </p>
  
  <pre><code>ViewController A -&gt; ViewController B -&gt; ViewController A -&gt; ViewController B
  </code></pre>
  
  <p>Also i need to pass data from <code>ViewController B -&gt; ViewController A</code></p>
  
  <p>I don't want to create 4 ViewControllers, so how can I recycle code in this case?</p>