pencilkit-drawing

Integrate Apple Pencil drawing with PencilKit canvas views and tool pickers.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/shopmikey-solutions/Shopmikeyapp --skill pencilkit-drawing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pencilkit-drawing
Source: https://github.com/shopmikey-solutions/Shopmikeyapp/tree/main/.codex/skills/skills/pencilkit-drawing
Command: npx skills add https://github.com/shopmikey-solutions/Shopmikeyapp --skill pencilkit-drawing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables the integration of Apple Pencil drawing capabilities into your applications, allowing users to capture handwritten input, create annotations, and save their work.

Core Features & Use Cases

  • Drawing Input: Capture Apple Pencil and finger input using PKCanvasView.
  • Tool Selection: Manage drawing tools with PKToolPicker.
  • Data Persistence: Serialize drawings with PKDrawing for saving and loading.
  • Use Case: Building an app that allows users to annotate images, take handwritten notes, or capture signatures.

Quick Start

Use the pencilkit-drawing skill to add a drawing canvas to your iOS application.

Frequently Asked Questions about pencilkit-drawing

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

FAQPage Schema
How do I add an Apple Pencil drawing canvas to my SwiftUI app?

To add an Apple Pencil drawing canvas to your SwiftUI app, use PencilKit's PKCanvasView to capture touch input, manage tools with PKToolPicker, and serialize the drawing data for saving.

Can I capture handwritten signatures and annotations using PencilKit on iOS?

Yes, you can capture handwritten signatures and annotations using PencilKit on iOS by integrating PKCanvasView to accept Apple Pencil and finger input, then serializing the strokes with PKDrawing.

Does PencilKit support drawing and annotation features on visionOS?

PencilKit supports drawing and annotation features on visionOS, allowing you to capture input and manage drawing data across iOS, iPadOS, and visionOS using the same framework components.

How do I save and load PencilKit drawings in an iPadOS app?

You save and load PencilKit drawings in an iPadOS app by serializing the drawing data with PKDrawing, which handles the ink strokes captured by PKCanvasView for data persistence.

What's the best way to implement a tool picker for an Apple Pencil drawing app?

The best way to implement a tool picker for an Apple Pencil drawing app is using PencilKit's PKToolPicker, which provides built-in tool selection UI to manage drawing instruments for your canvas view.

Can I use PencilKit to annotate images in my iOS application?

You can use PencilKit to annotate images in your iOS application by overlaying PKCanvasView onto your image views, capturing the Apple Pencil strokes, and serializing the annotations with PKDrawing.