axiom-transferable-ref
Installation
SKILL.md
Transferable & Content Sharing Reference
Comprehensive guide to the CoreTransferable framework and SwiftUI sharing surfaces: drag and drop, copy/paste, and ShareLink.
When to Use This Skill
- Implementing drag and drop (
.draggable,.dropDestination) - Adding copy/paste support (
.copyable,.pasteDestination,PasteButton) - Sharing content via
ShareLink - Making custom types transferable
- Declaring custom UTTypes for app-specific formats
- Bridging
Transferabletypes with UIKit'sNSItemProvider - Choosing between
CodableRepresentation,DataRepresentation,FileRepresentation, andProxyRepresentation