title: How to split or iterate over an Int without converting to String in Swift
body: <p>I was wondering if there was a way in Swift to split an Int up into it's individual digits <strong>without</strong> converting it to a String. For example:</p>
  
  <pre><code>let x: Int = 12345
  //Some way to loop/iterate over x's digits
  //Then map each digit in x to it's String value
  //Return "12345"
  </code></pre>
  
  <p>For a bit of background, I'm attempting to create my own method of converting an Int to a String without using the String description property or using String Interpolation.</p>
  
  <p>I've found various articles on this site but all the ones I've been able to find either start with a String or end up using the String description property to convert the Int to a String. </p>
  
  <p>Thanks. </p>