Two of the Mac’s defining features, how they differ, the roles of source and receiver apps, how they work, how transferable types can limit them, and their future in macOS.
drag and drop
Drag content from an app onto the Desktop or a location in a Finder window to create a clipping file. Although they date back to the early 1990s, they’re still well supported in Tahoe.
Swift source code implementing drag and drop and more, to accompany the main article.
Implementing a basic drag-and-drop app for macOS using SwiftUI: the DropDelegate protocol, and working with NSItemProvider. With full source and notarized example.
How to change the password for an encrypted sparse bundle, and how to use an ISO keyboard in a macOS VM on Apple silicon.
Want a script app that takes dropped files/folders, does something to them, and saves them? Here’s a simple prototype project which does exactly that. Free to use.
Once it has started, all attempts to drag and drop in apps will fail with the same error message.
