title: Prepare for Segue in Swift
body: <p>I'm facing the error message:</p>
  
  <pre><code>"UIStoryboardSegue does not have a member named 'identifier'"
  </code></pre>
  
  <p>Here's the code causing the error</p>
  
  <pre><code>if (segue.identifier == "Load View") {
      // pass data to next view
  }
  </code></pre>
  
  <p>On Obj-C it's fine using like this:</p>
  
  <pre><code>if ([segue.identifier isEqualToString:@"Load View"]) {
     // pass data to next view
  }
  </code></pre>
  
  <p>What am I doing wrong?</p>