NSPasteboard and simple custom data

前端 未结 2 390
醉酒成梦
醉酒成梦 2020-12-13 15:06

I\'m having a really difficult time trying to get NSPasteboard to work, so forgive me for my lack of understanding.

All I want is a simple way to write and retrieve

2条回答
  •  有刺的猬
    2020-12-13 15:43

    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.

提交回复
热议问题