title: How to get user path with NSURL
body: <p>I'm trying to find the Swift equivalent of <code>~/</code>.</p>
  
  <p>So, I want to create an NSURL with the user path. I've looked at <code>NSURLComponents</code>, but I can't see anything there. The <code>user</code> var seems only to apply to existing URLs. I'm sure this is pretty basic, but haven't found anything.</p>