pencilkit-drawing

Integrate Apple Pencil drawing with PKCanvasView, PKToolPicker, and PKDrawing.

155|22|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/omarshahine/HomeClaw --skill pencilkit-drawing-omarshahine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pencilkit-drawing
Source: https://github.com/omarshahine/HomeClaw/tree/main/.agents/skills/pencilkit-drawing
Command: npx skills add https://github.com/omarshahine/HomeClaw --skill pencilkit-drawing-omarshahine

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables the integration of advanced Apple Pencil drawing, canvas views, and ink serialization capabilities into your applications, making it easy to build intuitive and powerful creative experiences.

Core Features & Use Cases

  • Capture Input: Utilize PKCanvasView to capture Apple Pencil and finger input for drawing.
  • Tool Selection: Implement PKToolPicker for users to easily select drawing tools.
  • Data Management: Serialize and deserialize drawings using PKDrawing for persistence and sharing.
  • Use Case: Integrate a feature into your note-taking app that allows users to draw diagrams, annotate documents, or capture signatures using Apple Pencil with a familiar tool interface.

Quick Start

Use the pencilkit-drawing skill to add a canvas view to your app that captures Apple Pencil input.

Frequently Asked Questions about pencilkit-drawing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Apple Pencil drawing into a SwiftUI app?

Integrate Apple Pencil drawing in SwiftUI by implementing PKCanvasView to capture touch input, PKToolPicker for tool selection, and PKDrawing for ink data serialization. This enables canvas drawing, document annotation, and signature capture.

What's the best way to add a signature capture feature on iPadOS?

The best way to add signature capture on iPadOS is using PencilKit's PKCanvasView to capture Apple Pencil input and PKDrawing to serialize the signature data for persistent storage within your application.

Does PencilKit support ink serialization for saving and sharing drawings?

PencilKit supports ink serialization through the PKDrawing class, allowing you to serialize and deserialize drawing data for persistence and sharing across iOS, iPadOS, and visionOS platforms.

Can I use PKCanvasView to build an annotation feature for documents?

You can use PKCanvasView to build document annotation features by capturing Apple Pencil and touch input directly on the canvas, enabling users to draw diagrams and markup files with a familiar tool interface.

How do I display a drawing tool picker for Apple Pencil input?

Display a drawing tool picker for Apple Pencil input by implementing the PKToolPicker component in your PencilKit canvas view, providing users with standard selection options for various drawing tools.

What iOS version is required for PencilKit canvas management and data persistence?

PencilKit canvas management and data persistence using PKCanvasView, PKToolPicker, and PKDrawing requires Swift 6.2 and iOS 26+, extending support to iPadOS and visionOS platforms.