title: PerformSegueWithIdentifier in Swift 3
body: <p>When I click button, On satisfying some condition, I need to go from view controller 'A' to view controller 'B'. So if condition is satisfied i am writing in that if block</p>
  
  <pre><code>self.performSegue(withIdentifier: "fistBump", sender: self)
  </code></pre>
  
  <p>but irrespective of condition (if the condition is not met also) it is navigating to 'B' view controller.</p>
  
  <p>I gave segue('fistBump') from View Controller 'A' to navigation controller scene(not to 'B' scene) in storyboard for my other purposes.</p>