title: Using NSOutlineView as a file browser, starting from a given directory
body: <p>I've been following this tutorial for using NSOutlineView as a hierarchical file browser:</p>
  
  <p><a href="https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/OutlineView/Articles/UsingOutlineDataSource.html" rel="nofollow">https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/OutlineView/Articles/UsingOutlineDataSource.html</a></p>
  
  <p>I used all the code in the tutorial and it worked. However, I then tried to call <code>initWithPath:</code> with a path other than <code>/</code> and it doesn't work: the <code>fullPath</code> of the top item (i.e. the folder specified in <code>initWithPath</code>) is just the name of the folder, and the <code>children</code> method of the <code>FileSystemItem</code> returns an empty array, I assume because the file manager is looking in <code>/FolderName/</code> rather than the absolute path, which never appears to be saved.</p>
  
  <p>How could I modify this code to allow it to do this?</p>