PDFKit Basics
summary
Shows how to use PDFKit on iOS/macOS to load a PDF, add concrete annotations, and export a modified file. Demonstrates creating a free‑text annotation with font and color, attaching a PDF action URL to a link, generating a QR code via Core Image and embedding it as an image annotation, autoscaling views, rendering pages to UIImage or CG context, writing the PDF to disk or NSData, and a live demo that saves and opens the edited ticket successfully.
AI-written summary · about
chapters (16)
- 0:00Intro
- 0:30Mitch and the Memory Leakers
- 1:35PDF Basics
- 2:34PDF Layout Basics
- 3:18PDF Kit Basics
- 4:35PDFDocument
- 6:45Don't Do This Any More!
- 7:10Do This Instead
- 7:35PDFView Points
- 10:54PDFAction URL
- 11:43PDFActionURL
- 12:26PDFAnnotation with Ullmage
- 13:53PDFPage
- 15:04Finding Annotations
- 16:06Save the File
- 16:22Get an image of a page
related talks
20mTips for Supporting Apple Pencil
28mWorking with XcodeKit
10mPencilKit: From simple drawings to custom creative tools
31mLeveraging AppKit to Improve Your Catalyst App
45mMuse Prototype Challenges
47mMagic Words – Harnessing the Power of TextKit
34mFull Keyboard Control in UIKit Apps
30mEvolving Existing Projects With SwiftUI
