Wraps PKCanvasView, PKToolPicker, and PKDrawing for Apple Pencil input on iOS, iPadOS, and visionOS. Covers the full lifecycle: setting up a canvas with drawing policies (pencil-only, any-input, or default), managing the tool picker with custom ink types from pen and marker to the iOS 26 reed pen, serializing drawings to Data, and exporting to images. The content version compatibility section is the real value here. It maps version1 through version4 to specific ink sets and features, shows how to gate syncing with requiredContentVersion, and explicitly warns against silently overwriting drawings that require newer versions than a recipient can load. If you're building cross-device drawing features or annotation tools that sync, this handles the versioning headaches upfront.

skills.sh installs
403
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill pencilkit-drawing --agent claude-code

Installs into .claude/skills of the current project.

Files

Wraps PKCanvasView, PKToolPicker, and PKDrawing for Apple Pencil input on iOS, iPadOS, and visionOS. Covers the full lifecycle: setting up a canvas with drawing policies (pencil-only, any-input, or default), managing the tool picker with custom ink types from pen and marker to the iOS 26 reed pen, serializing drawings to Data, and exporting to images. The content version compatibility section is the real value here. It maps version1 through version4 to specific ink sets and features, shows how to gate syncing with requiredContentVersion, and explicitly warns against silently overwriting drawings that require newer versions than a recipient can load. If you're building cross-device drawing features or annotation tools that sync, this handles the versioning headaches upfront.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Category
Mobile Development
First seen
Jun 3, 2026

More from dpearson2699/swift-ios-skills

All 98
1dchuk avatarintegrating-tauri-js-frontendsdchuk/claude-code-tauri-skillsGuides Claude through configuring JavaScript frontend frameworks for Tauri v2 desktop applications, including Next.js, Nuxt, Qwik, SvelteKit, and Vite with prop402skills.sh installs
2dpearson2699 avatarhomekit-matterdpearson2699/swift-ios-skillsControl smart-home accessories and commission Matter devices using HomeKit and MatterSupport. Use when managing homes/rooms/accessories, creating action sets or402skills.sh installs
3dpearson2699 avatarpasskit-walletdpearson2699/swift-ios-skillsIntegrate Apple Pay payments and Wallet passes using PassKit. Use when adding Apple Pay buttons, creating payment requests, handling payment authorization, addi401skills.sh installs
4froessell avatarapp-store-opportunity-researchfroessell/app-store-opportunity-researchapp store opportunity research373skills.sh installs
5abdelhakrazi avatarflutter-bloc-developmentabdelhakrazi/flutter-bloc-clean-architecture-skillflutter bloc development364skills.sh installs
6skillcreatorai avatarexpo-app-designskillcreatorai/ai-agent-skillsexpo app design363skills.sh installs