paperkit
Add drawings, shapes, and a consistent markup experience using PaperKit. Use when integrating PaperMarkupViewController for markup editing, adding shape recognition, working with PaperMarkup data models, embedding markup tools in document editors, or building annotation features that need the system-standard markup toolbar. New in iOS 26.
npx skills add dpearson2699/swift-ios-skills --skill paperkit --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# PaperKit > **Beta-sensitive.** PaperKit is new in iOS/iPadOS 26, macOS 26, and visionOS 26. API surface may change. Verify details against current Apple documentation before shipping. PaperKit combines PencilKit drawing with structured markup elements such as shapes, text, images, and lines in a canvas managed by `PaperMarkupViewController`. ## Contents - [Setup](#setup) - [Workflow](#workflow) - [PaperMarkupViewController](#papermarkupviewcontroller) - [PaperMarkup Data Model](#papermarkup-data-model) - [Insertion Controllers](#insertion-controllers) - [FeatureSet Configuration](#featureset-configuration) - [Integration with PencilKit](#integration-with-pencilkit) - [SwiftUI Integration](#swiftui-integration) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## Workflow 1. Choose the document bounds, supported `FeatureSet`, and persistence version before constructing UI. 2. Create `PaperMarkup`, embed `PaperMarkupViewController`, and keep the controller, tool picker, and insertion controller alive for the view lifetime. 3. Use the platform-appropriate insertion surface and keep PencilKit drawing inside the PaperKit document
- Contents
- Workflow
- Setup
- PaperMarkupViewController
- Basic UIKit Setup
- Key Properties
- Touch Modes
- Content Background
- Delegate Callbacks
- PaperMarkup Data Model
- Creating and Persisting
- Inserting Content Programmatically
- Other Operations
- Insertion Controllers
What does the paperkit skill do?
Add drawings, shapes, and a consistent markup experience using PaperKit. Use when integrating PaperMarkupViewController for markup editing, adding shape recognition, working with PaperMarkup data models, embedding markup tools in document editors, or building annotation features that need the system-standard markup toolbar. New in iOS 26.
How do I install it?
Run `npx skills add dpearson2699/swift-ios-skills --skill paperkit --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From dpearson2699/swift-ios-skills, a repository with 963 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.