title: Can drag and drop file URL text, but not actual file
body: <p>I'm able to drag a file URL from a NSTableView cell and drop it in any text editor. According to my understanding of Apple's documentation though, when I drop the URL, the file should be copied to the drop location.</p>
  
  <pre><code>- (BOOL)tableView:(NSTableView *)tv writeRowsWithIndexes:(NSIndexSet *)rowIndexes toPasteboard:(NSPasteboard*)pboard {
  
      //for now putting specific file path in just to get it working
      NSString *filePath = @"/Users/Jackh/Desktop/Apple.png";
      [pboard declareTypes:[NSArray arrayWithObject:NSURLPboardType] owner:self];
      [[NSURL URLWithString:filePath] writeToPasteboard:pboard];
  
      return YES;
  
  }
  </code></pre>
  
  <p>How do I get the file to copy from the filePath to the dropped location? It's just moving filePath as text for now.</p>
  
  <p>Any ideas?</p>
  
  <p><strong>Edit</strong>: I am now using this code</p>
  
  <pre><code>-(void)awakeFromNib {
  
      [self.tableView setDraggingSourceOperationMask:NSDragOperationEvery forLocal:NO];
  
  }
  </code></pre>
  
  <p>...</p>
  
  <pre><code>[self.tableView registerForDraggedTypes:[NSArray arrayWithObjects:NSFilenamesPboardType, NSFileContentsPboardType, nil]];
  </code></pre>
  
  <p>...</p>
  
  <pre><code>- (BOOL)tableView:(NSTableView *)tv writeRowsWithIndexes:(NSIndexSet *)rowIndexes toPasteboard:(NSPasteboard*)pboard {
  
      //for now putting specific file path in just to get it working
      NSString *filePath = @"/Users/Jackh/Desktop/Apple.png";
      [pboard declareTypes:[NSArray arrayWithObject:NSFileContentsPboardType] owner:nil];
      [pboard writeFileContents:filePath];
  
  }
  </code></pre>