swiftui-transferable
CommunitySwiftUI drag-and-drop and clipboard support.
Software Engineering#swiftui#drag-and-drop#clipboard#transferable#sharelink#file-import#multirepresentation
AuthorAutisticAF
Version1.0.0
Installs0
System Documentation
What problem does it solve?
SwiftUI drag-and-drop, copy/paste, and interop for custom data types are hard to implement consistently across Apple platforms. This skill provides the Transferable protocol patterns, multiple transfer representations, and actionable guidance to enable seamless data sharing in SwiftUI apps.
Core Features & Use Cases
- Transferable protocol and multiple representations (CodableRepresentation, DataRepresentation, FileRepresentation, ProxyRepresentation) for flexible data transfers.
- Drag-and-drop and clipboard integration through SwiftUI modifiers (.draggable(), .dropDestination(for:isTargeted:)) and PasteButton support.
- ShareLink integration and File Importer/Exporter workflows for end-to-end content sharing and persistence.
Quick Start
Create a SwiftUI view with a Transferable item type, implement a CodableRepresentation, and enable dragging and dropping using .draggable and .dropDestination.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: swiftui-transferable Download link: https://github.com/AutisticAF/claude-code-apple-dev-plugin/archive/main.zip#swiftui-transferable Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.