title: cocoa: how to use view-based Source List
body: <p>I want to implement an app using source list like Finder:</p>
  
  <p><img src="https://i.stack.imgur.com/G4zTO.png" alt="enter image description here"></p>
  
  <p>I have done a source list app using NSOutlineView and a tree data struct implemented by myself. I find that IB have provide a SourceList View already: </p>
  
  <p><img src="https://i.stack.imgur.com/UL5OS.png" alt="enter image description here"></p>
  
  <p>, but I don't know how to use it, I guess maybe use SourceList view will be easier to implement a Finder-like app. I want to know:</p>
  
  <ol>
  <li>what's the easiest way to implement a source list app?</li>
  <li>does SourceList view can show an icon before the item name ?</li>
  </ol>