The PDF editor SDK for the Mac
A macOS PDF SDK through Mac Catalyst: bring your iOS app’s PDF editor to the Mac with the same product and the same code, with desktop behaviour.
// Mac Catalyst target — the same code as iOS
import SwiftUI
import PDFEditorUI
@main
struct MyApp: App {
init() { PDFEditorSDK.setLicenseKey("PE1.eyJ2Ijox…") }
var body: some Scene { WindowGroup { ContentView() } }
}
// Present the editor; the edited PDF comes back as Data.
PDFEditorView(url: pdfURL) { edited in
try? edited.write(to: pdfURL, options: .atomic)
} onCancel: { }Everything your users need, in your Mac app.
Change the text already in the PDF, in any script — its font, size and colour — then move, rotate or restack it.
Fill in existing forms, or add text fields, checkboxes, radio groups and dropdowns of your own.
Highlight, draw and stamp, with the tools, colours and defaults you choose.
Handwritten signatures, digital signatures with a digital ID, and verification of the ones already there.
Insert and reorder pages, import them from other PDFs and extract them into new ones.
Change the text already in the PDF, in any script — its font, size and colour — then move, rotate or restack it.
Built for the Mac.
One code base
The same Swift package and the same code as on iPhone and iPad, built for Mac Catalyst.
Desktop behaviour
The editor runs as a Mac app window with desktop behaviour and the full tool set.
Unsaved changes
A callback tells you when the document has unsaved edits, so your app can confirm before a window closes.
Existing AppKit apps
An older AppKit editor is kept so existing apps keep building; new apps should use Mac Catalyst.
Requirements
- Mac Catalyst
- 15 or later
- Install with
- Swift Package Manager
- Code
- The same as iOS
Bring the iOS editor to the Mac in three steps.
- 1
Use the same package
The PDFEditorUI product also runs on the Mac. There is no separate Mac product to add.
- 2
Add the Mac destination
In the app target’s General settings, add Mac (Mac Catalyst) under Supported Destinations.
- 3
Handle closing the window
A Mac window can close without asking, so track onUnsavedChangesChanged and save or confirm first. Form Editor mode isn’t available on Mac Catalyst.
Mac questions.
Build your app for Mac Catalyst and use the same Swift package and code as on iOS.
An older AppKit editor exists so existing apps keep building, but it is no longer recommended; new apps should use Mac Catalyst.
The same editor on other platforms
Try it in your app.
A free trial unlocks every feature on every platform, in any app. Open a document today.
Talk to us
Questions about licensing, several apps, volume, or OEM and site terms — we will work out what fits.