# How to Vibe Code Your Own PDF Expert (and Stop Paying for It)

> The go-to PDF editor, reader, and annotator for Apple ecosystems and the web

- Site: https://pdfexpert.com
- Category: Productivity
- Verdict: **Don't bother** (12/100 vibecodeable)
- Estimated effort: 6+ months of full-time work

## Verdict

Keep paying for PDF Expert or use Apple Preview; building a native multi-platform PDF suite with custom WYSIWYG text reflow and high-performance rendering is an immense multi-year engineering undertaking.

Replicating PDF Expert as a solo developer using AI coding tools is impossible due to the sheer engineering depth required for a high-performance native PDF engine. While AI can help wire up a basic wrapper around Apple's PDFKit framework or a web-based PDF.js viewer, writing a custom rendering engine, complex WYSIWYG text reflow algorithms, interactive AcroForms execution, and buttery-smooth Apple Pencil ink smoothing requires years of low-level graphics and PDF specification mastery. At $79.99/year, paying for the real app is vastly more rational than spending months wrestling with native graphic pipelines.

### What you can't replicate

- High-performance native 60fps PDF vector and image rendering engine
- Advanced WYSIWYG text reflow algorithm that shifts surrounding paragraphs dynamically
- Low-latency Apple Pencil ink prediction and smoothing pipeline
- Robust AcroForms and XFA interactive calculation engine

## What it does

PDF Expert is a high-performance document processing suite built for Apple devices and web browsers, offering robust reading, annotation, text/image editing, form filling, secure signing, OCR, file conversion, and AI-powered document assistance.

### Core features

- High-performance multi-hundred-page PDF rendering engine
- Apple Pencil low-latency ink smoothing and advanced annotation toolkit
- Interactive AcroForms filling with script evaluation
- WYSIWYG text and image editing with dynamic reflow
- Local and cloud OCR text recognition
- Format conversion (PDF to Word, Excel, PowerPoint, JPG)
- Multi-device cloud syncing and file management
- PDF Copilot AI assistant for document querying and summarization

## The business

### Pricing

- Essential: $49.99/yr — Billed annually, covering iPhone, iPad, and Mac with core features and AI capabilities.
- Pro: $79.99/yr — Billed annually with priority support and advanced updates across all Apple platforms.
- Lifetime: $139.99 — One-time payment for Mac version with continuous support and bug fixes.

Founded 2007.
Team size: 100-250+.

## The hard parts

- Writing a butter-smooth 60fps native PDF rendering and vector graphics engine in Swift/AppKit
- Implementing true WYSIWYG paragraph reflow and font glyph replacement inside rigid PDF coordinates
- Handling complex AcroForms and XFA interactive form specifications with embedded JavaScript
- Achieving sub-millisecond Apple Pencil low-latency touch ink stroke smoothing and rendering

## How to vibe code PDF Expert

### Prerequisites

- Mac: Required for macOS native development using Xcode and Swift.
- Xcode (Free): Required IDE for compiling Swift, SwiftUI, and AppKit/UIKit native applications.
- Node.js (Free): Required for running build scripts and backend utilities if adding web copilot features.
- GitHub (Free): Version control and repository hosting.

### Recommended AI tools

- Claude Code: Best-in-class agentic coding tool for scaffolding complex codebases and managing multi-file architecture directly from your terminal.
- Cursor: Provides an AI-native code editor experience for reviewing swift code diffs and refining UI components.

### Stack

- Frontend: SwiftUI / AppKit
- Backend: Swift (Local) / Node.js
- Database: SQLite / CoreData
- Auth: Local Keychain
- Payments: StoreKit 2
- Other: PDFKit, Vercel AI SDK, Anthropic API

### Hosting

- Vercel (Hosting the companion web documentation and PDF Copilot API endpoints.): $0/mo

### Build guide

1. **Scaffold Native macOS Document Workspace** — Initialize a native macOS application using Swift and SwiftUI with a split-view document sidebar, file browser, and tabbed document interface.

```
Create a new macOS document-based application using SwiftUI. Implement a primary navigation split view with a sidebar for 'Recents', 'My Files', 'Favorites', and 'Cloud Connections'. The main detail area should feature a tabbed document interface allowing multiple PDF files to be open simultaneously. Configure AppKit window delegates to handle file opening via drag-and-drop and standard system open dialogs. Ensure clean separation between document state and UI views, utilizing observable view models for document management.
```

2. **Integrate PDFKit Rendering and Navigation** — Wrap Apple's native PDFKit framework to provide high-performance document viewing, page scrolling, thumbnail sidebar, and search indexing.

```
Integrate Apple's PDFKit framework into the SwiftUI application by wrapping PDFView and PDFDocument in a platform-native NSViewRepresentable / UIViewRepresentable component. Add support for continuous vertical and horizontal page scrolling, single-page and two-page spread view modes, day/night/sepia reading theme overrides via core graphics color inversion, and a thumbnail sidebar drawer. Implement an instantaneous text search mechanism that highlights matches across the entire document and populates a search history dropdown.
```

3. **Build Core Annotation Toolkit** — Implement annotation capabilities including text highlighting, freehand drawing, sticky notes, shapes, and Apple Pencil ink smoothing.

```
Extend the PDF viewer component to support a robust annotation toolbar. Implement highlighting with color pickers, sticky note popups, geometric shapes (rectangles, circles, arrows), and freehand drawing overlays using PKCanvasView for low-latency Apple Pencil stroke capture and smoothing. Serialize annotations directly into the underlying PDFDocument annotation array so they persist when saving the document back to disk or exporting.
```

4. **Add Form Filling and Signature Capabilities** — Enable interactive AcroForms filling and secure electronic signature creation and placement.

```
Implement interactive form filling by inspecting PDFDocument form fields (PDFAnnotationSubtypeWidget). Render interactive text boxes, checkboxes, and choice menus over form field boundaries. Add a signature manager that allows users to draw or type a personal electronic signature using mouse, trackpad, or Apple Pencil, and stamp selected signatures onto arbitrary coordinates within the PDF document pages with persistent placement coordinates.
```

5. **Integrate PDF Copilot AI Assistant** — Connect an AI backend using the Vercel AI SDK and Anthropic API to allow users to query and summarize PDF content.

```
Build a companion side panel for the PDF viewer called 'PDF Copilot'. Implement text extraction from the active PDFDocument using PDFKit text selection routines. Set up a secure API client using the Vercel AI SDK and Anthropic API to transmit extracted text snippets along with user prompts for document summarization, question answering, and key insight extraction. Render streaming AI responses in a conversational chat interface inside the sidebar.
```

6. **Implement Page Management and Export Tools** — Add page reordering, rotation, deletion, merging, and file export capabilities.

```
Create a visual page grid editor view that displays thumbnail representations of all pages in the active PDFDocument. Implement drag-and-drop page reordering, individual page rotation, page deletion, and page insertion from external files. Build a file combiner utility that merges multiple PDFDocuments into a single file and exports the result using standard file save panels.
```

### Cost vs paying

**Starting costs (one-time):**

- Apple Developer Program (optional for local distribution): $99/yr
- Anthropic API Credits: $10 one-time
- Total: ~$109 one-time

**Ongoing costs (monthly):**

- Claude Pro / AI Coding Assistant: $20/mo
- Anthropic API Usage for PDF Copilot: ~$5/mo
- Total: ~$25/mo

- Paying for the SaaS instead: $6.66/mo ($79.99/yr)
- Build time: 250+ hours
- AI tool credits: $20/mo (Claude Pro)
- Break-even: Never (paying for the commercial app is drastically cheaper and vastly more functional)

## Sources

- [PDF Expert Official Website](https://pdfexpert.com)
- [PDF Expert Pricing Page](https://pdfexpert.com/pricing)
- [PDF Expert iOS and Mac Feature Documentation](https://pdfexpert.com/features)
- [Tracxn Company Profile - Readdle](https://tracxn.com/d/company/readdle)