title: Date/Time Natural Language Approximation in Swift
body: <p>I am attempting to convert a UTC formatted date from an API to a human-readable approximation format using Swift.</p>
  
  <p>I'm looking for something like the following:</p>
  
  <blockquote>
    <p>2015-07-14T13:51:05.423Z</p>
  </blockquote>
  
  <p>to</p>
  
  <blockquote>
    <p>About two weeks ago</p>
  </blockquote>
  
  <p>What is the best approach to this in Swift? While optimally this could format strings directly, I understand that this will probably require casting the string to a NSDate object.</p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>EDIT: My question had been identified as a possible duplicate of <a href="https://stackoverflow.com/questions/902950">another question</a>. Tom's solution below is written for Swift and much more elegant than creating a new method in regards to my situation.</p>