To follow up on Peter Hosey's, answer, take a look at PlaylistViewController.swift of my GitHub Helium port. This module handles the drag-n-drop for custom objects and interactions with a WKWebView.
It's a working, work in progress featuring the new shiny pasteboard adoption.