title: In Swift, how to convert String to Int for base 2 though base 36 like Long.parseLong in Java?
body: <p>How do I convert a String to a Long in Swift?</p>
  
  <p>In Java I would do <code>Long.parseLong("str", Character.MAX_RADIX)</code>.</p>