title: Lesser than or greater than in Swift switch statement
body: <p>I am familiar with <code>switch</code> statements in Swift, but wondering how to replace this piece of code with a <code>switch</code>:</p>
  
  <pre><code>if someVar &lt; 0 {
      // do something
  } else if someVar == 0 {
      // do something else
  } else if someVar &gt; 0 {
      // etc
  }
  </code></pre>