title: Drag and drop from Cocoa App to Finder
body: <p>I have a <a href="https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/NSCollectionView_Class/Introduction/Introduction.html" rel="nofollow noreferrer">NSCollectionView</a>, that displays some files:
  <img src="https://i.stack.imgur.com/pCI4S.png" alt="enter image description here"></p>
  
  <p>What I want is...</p>
  
  <ol>
  <li>being able to select one file.</li>
  <li>being able to drag this file and drop it on the desktop or another Finder window.</li>
  </ol>
  
  <p>The file icons are displayed by a NSImageView.</p>
  
  <p>What would be a good approach to provide such functionality?</p>
  
  <p>Thanks a lot!</p>