If you're building a Swift app that needs to show, search, or mark up PDFs, this gives you the complete PDFKit playbook. It covers everything from dropping a PDFView into your controller and wiring up page navigation to running async searches, extracting text from specific regions, and adding annotations like highlights, sticky notes, and form widgets. The skill includes thumbnail strips, SwiftUI wrappers, and password-protected document handling. PDFKit ships with iOS so there's no external dependency, and this reference gets you past the awkward API surface with working examples for each feature. Solid if you're doing anything beyond just displaying a static PDF.

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

Install

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

Installs into .claude/skills of the current project.

Files

PDFKit

Display, navigate, search, annotate, and manipulate PDF documents with PDFView, PDFDocument, PDFPage, PDFAnnotation, and PDFSelection.

Contents

Setup

PDFKit requires no entitlements or Info.plist entries.

import PDFKit
APIAvailability
PDFKit frameworkiOS/iPadOS/tvOS 11+, Mac Catalyst 13.1+, macOS 10.4+, visionOS 1.0+
Find interaction and page overlaysiOS/iPadOS 16+

Displaying PDFs

PDFView renders PDF content and handles zoom, scrolling, text selection, and page navigation.

import PDFKit
import UIKit

class PDFViewController: UIViewController {
    let pdfView = PDFView()

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
AI & Agent Building, Mobile Development, Office & Documents
First seen
May 16, 2026

More from dpearson2699/swift-ios-skills

All 98
1zc277584121 avatarcc-usezc277584121/cc-use把较长的编码、排查、测试或交互式 CLI 工作交给 tmux 中的内层命令行编码 Agent, 由当前外层 Agent 负责拆解任务、读取稳定屏幕快照、纠正方向、执行最终验收,并在本次 任务结束后销毁内层 session。适用于用户明确要求使用 cc-use、希望把长时间实现工作 交给内层 Agent、需要在真实 Co3.3Kskills.sh installs
2przeprogramowani avatar10x-cli-setupprzeprogramowani/10x-cliALWAYS invoke this skill when the user mentions 10x-cli, @przeprogramowani/10x-cli, the 10xDevs CLI, or the 10xDevs course environment in a setup context. This 3.3Kskills.sh installs
3nexu-io avatard3-visualizationnexu-io/open-designTeaches the agent to produce D3 charts and interactive data visualizations. A comprehensive D3.js skill with examples across chart types and techniques giving t3.3Kskills.sh installs
4vercel-labs avatarreact-nativevercel-labs/json-renderReact Native renderer for json-render that turns JSON specs into native mobile UIs. Use when working with @json-render/react-native, building React Native UIs f3.3Kskills.sh installs
5gracefullight avatartrading-analysisgracefullight/stock-checkerGenerate professional investment reports for stocks and ETFs. Use when user requests market analysis, investment reports, stock analysis, or trading recommendat3.2Kskills.sh installs
6dpearson2699 avatarpaperkitdpearson2699/swift-ios-skillsAdd drawings, shapes, and a consistent markup experience using PaperKit. Use when integrating PaperMarkupViewController for markup editing, adding shape recogni3.2Kskills.sh installs