title: Swift: Formatting time string based on number of seconds
body: <p>There is a NSTimer object in my app that counts elapsed time in seconds.</p>
  
  <p>I want to format an UILabel in my app's interface in the such way it matches the well know standard. </p>
  
  <p><strong>Example</strong></p>
  
  <p>00:01 - one second</p>
  
  <p>01:00 - 60 seconds</p>
  
  <p>01:50:50 - 6650 seconds</p>
  
  <p>I wonder how to do that, do you know any pods/libraries that creates such String based on Int number of seconds?</p>
  
  <p>Obviously I can come with a complicated method myself, but since it's recommended to not reinvent the wheel, I'd prefer to use some ready-to-use solution.</p>
  
  <p>I haven't found anything relevant in Foundation library, nor in HealthKit</p>
  
  <p>Do you have any suggestions how to get it done? If you say "go and write it yourself" - that's ok. But I wanted to be sure I'm not missing any simple, straightforward solution.</p>
  
  <p>thanks in advance</p>