What problem does it solve?
This Skill solves the problem of building iOS drawing and annotation features that feel natural with Apple Pencil while still being persistable and reusable in apps.
Core Features & Use Cases
- Capture drawing input: Use PKCanvasView to record Apple Pencil and finger strokes with configurable drawing policies.
- Provide drawing tools: Use PKToolPicker to present an in-app tool palette and support tool changes.
- Persist and transfer drawings: Serialize drawings with PKDrawing to save/load data and enable document-style workflows.
- Integrate with SwiftUI: Wrap PKCanvasView using UIViewRepresentable for reactive SwiftUI state management.
- Use cases: annotation tools, handwriting capture, signature fields, and any Pencil-powered drawing experience on iOS/iPadOS/visionOS.
Quick Start
Ask the skill to show how to capture Pencil and finger strokes with PKCanvasView, attach a PKToolPicker, and persist the resulting PKDrawing to Data for later reload.