title: Leading zeros for Int in Swift
body: <p>I'd like to convert an <code>Int</code> in Swift to a <code>String</code> with leading zeros. For example consider this code:</p>
  
  <pre><code>for myInt in 1 ... 3 {
      print("\(myInt)")
  }
  </code></pre>
  
  <p>Currently the result of it is:</p>
  
  <pre><code>1
  2
  3
  </code></pre>
  
  <p>But I want it to be:</p>
  
  <pre><code>01
  02
  03
  </code></pre>
  
  <p>Is there a clean way of doing this within the Swift standard libraries?</p>