title: Thread 1: EXC_BAD_INSTRUCTION using UIButton
body: <p>in my apps i use storyboard and directly programmatically at the same time.
  On a view i want to go to another view using a programmatically UIButton
  Here's the code</p>
  
  <pre><code>  func QuitView(sender:UIButton){
      self.presentViewController(FirstViewController(), animated: true, completion: nil)
  }
  </code></pre>
  
  <p>And the error is: </p>
  
  <blockquote>
    <p>Thread 1 exc_bad_instruction (code=exc_i386_invop subcode=0x0) error</p>
  </blockquote>