title: Find parent directory of a path
body: <p>Is there any way to find the parent directory of a path using <code>NSFileManager</code> or something?</p>
  
  <p>e.g. Take this:</p>
  
  <blockquote>
    <p>/path/to/something</p>
  </blockquote>
  
  <p>And turn it into</p>
  
  <blockquote>
    <p>/path/to/</p>
  </blockquote>