title: Find digit sum of a number in Swift
body: <p>Does anyone know how to get the sum of all the digits in a number in Swift?</p>
  
  <p>For example using the number <code>845</code> would result in <code>17</code></p>