paperkit

Configure PaperMarkupViewController for document annotation with PencilKit drawing.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/harshav167/build-ios-apps --skill paperkit-harshav167
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paperkit
Source: https://github.com/harshav167/build-ios-apps/tree/main/skills/paperkit
Command: npx skills add https://github.com/harshav167/build-ios-apps --skill paperkit-harshav167

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PaperKit provides a unified markup experience — the same framework powering markup in Notes, Screenshots, QuickLook, and Journal. It combines PencilKit drawing with structured markup elements (shapes, text boxes, images, lines) in a single canvas managed by PaperMarkupViewController. Requires Swift 6.3 and the iOS 26+ SDK.

Core Features & Use Cases

  • Unified PaperMarkupViewController for interactive markup on documents
  • Insertion UI controllers (MarkupEditViewController / MarkupToolbarViewController) across platforms
  • Comprehensive FeatureSet configuration for drawing, text, images, shapes, and more
  • Smooth PencilKit integration with async dataRepresentation and multi-platform rendering
  • Background content embedding via contentView for page-doc annotations

Quick Start

Import PaperKit, create a PaperMarkup with bounds, instantiate PaperMarkupViewController(markup: markup, supportedFeatureSet: features), attach it to your view, and retain a PKToolPicker for editing.

Frequently Asked Questions about paperkit

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

FAQPage Schema
How do I add document annotation tools across iOS, iPadOS, macOS, and visionOS?

You can start document annotation by instantiating PaperMarkupViewController with a PaperMarkup object and a supportedFeatureSet, then attaching it to your view and retaining a PKToolPicker for interactive editing controls.

Can I use PencilKit drawing with structured markup elements in a single canvas?

PaperKit supports configurable FeatureSet options for drawing, text, images, and shapes, allowing you to enable or disable specific annotation capabilities within your document editing workflow.

Does PaperKit work with the latest iOS SDK for multiplatform document editing?

PaperKit manages background content embedding via contentView, enabling page-document annotations to render smoothly over existing background content across all supported Apple platforms.

What is the best way to insert shapes and text boxes into a markup document?

PaperKit uses async rendering patterns and comprehensive FeatureSet configuration to handle shape insertion and text box integration, ensuring smooth performance during document editing.