PSPDFKit
Products
Solutions
Aviation
Streamline Your Flight Releases
Construction
Digitize PDF Forms and Drawings
Education
Move Your App to the Head of the Class
Legal
Handle and Review Documents in Real Time
Government
Serve Public Records Securely and Intuitively
Financial
Accelerate Your Digital Transformation
Documentation
Blog
Explore the Blog
Blog Overview
Development
Products
Tutorials
Customer Stories
Solutions
Company
Explore by Topic
Resources
Webinars
Live Demo
Technical Support
Pricing
Free Trial
Contact Sales
Contact Sales
Contact Sales
T
Archive
All
Android
Company
Customers
Design
Development
Instant
iOS
macOS
Products
Web
Windows
2021
DEVELOPMENT | iOS • Swift • Tips
Fitting Text into a Bounding Frame on iOS
How to use a binary search algorithm to precisely fit multiline text into a bounding frame on iOS.
DEVELOPMENT | iOS • Swift • Testing • Tips
Swift Render Tests in Practice — Part III
How to automate regenerating and updating reference images for render tests.
DEVELOPMENT | iOS • Swift • Testing • Tips
Swift Render Tests in Practice - Part II
How to improve test failures with attachments and grouping related test output.
DEVELOPMENT | iOS • Swift • Testing • Tips
Swift Render Tests in Practice - Part I
How to pragmatically approach render testing for custom drawing code.
DEVELOPMENT | iOS • Swift • Tips • Debugging
Debugging Image Loading and Cropping Performance on iOS
We talk about using the Image I/O and Core Graphics APIs to improve the image loading and cropping performance in the PSPDFKit iOS SDK.
TUTORIALS | iOS • Swift • How To • Annotations
Adding Annotations in Swift with PDFKit vs. PSPDFKit
A post that compares adding annotations in Apple's PDFKit and PSPDFKit.
TUTORIALS | iOS • Swift • PDF • How To
Creating and Filling Forms Programmatically in Swift
This blog post explains the process of creating and filling PDF forms programmatically in Swift.
DEVELOPMENT | iOS • Swift • Tips
Streams of Cocoa: Why It's Still Worth Knowing NSStream
In this post, we'll look at a piece of API that many people rarely touch, if ever: Stream. It’s neither new nor shiny, but it's a powerful tool when you know how to use it.
DEVELOPMENT | iOS • Swift • Objective-C • Xcode • Testing
Deflaking CI Tests with xcresults
We’re sharing some techniques for tracking down and fixing flaky Xcode tests on CI.
DEVELOPMENT | iOS • Swift • Tips • SwiftUI • UI/UX • Accessibility
Keyboard Navigation in SwiftUI
SwiftUI wasn’t built with keyboard support in mind, and it shows. Learn how you can rewrite keyboardShortcut to work with iOS 13 and access the underlying navigation controller to pop views on ⌘-Left Arrow.
TUTORIALS | iOS • Swift • How To • SwiftUI
Using the Document Browser in SwiftUI to Open a PDF
With iOS 14, Apple made it incredibly easy to integrate the document browser into SwiftUI-powered apps.
DEVELOPMENT | iOS • Swift • SwiftUI • Tips
Using the SwiftUI ColorPicker on iOS and macOS
While macOS has offered a system-provided color picker since OS X 10.0 Cheetah, iOS developers had to wait a bit longer. Let's take a closer look at the new ColorPicker (SwiftUI) and UIColorPickerViewController (UIKit) controls.
TUTORIALS | iOS • Swift • How To
How to Unlock PDF Functionality with OCR in iOS
This blog post covers how to integrate OCR functionality in iOS, perform OCR, and leverage functionality such as extraction, selection, highlight, and search.
2020
TUTORIALS | iOS • Swift • PDF • How To
Convert a PDF to an Image in Swift
This blog post explains how to convert your PDF file to an image using Core Graphics, PDFKit, and PSPDFKit.
DEVELOPMENT | iOS • Swift • Tips
Caching File Downloads with URLCache in Swift
Apple has a sophisticated caching system in iOS, which is enabled by default. However, documentation around URLCache is quite sparse. Today, we'll look at the behavior of caching when dealing with large files.
DEVELOPMENT | iOS • Swift • Tips • SwiftUI • UI/UX
Presenting Popovers from SwiftUI
Is there a way to present UIKit popovers from toolbar buttons managed by SwiftUI?
TUTORIALS | iOS • Swift • How To • UI/UX
Extending the Scribble User Experience
How to customize the default Scribble experience to allow users to start writing anywhere.
DEVELOPMENT | Swift • Tips • Debugging
An Introduction to LLDB Reproducers
An introduction to an experimental feature in LLDB, Reproducers, that helps reproduce bugs in the debugger itself.
TUTORIALS | iOS • Swift • How To
Adding Multimedia Content to a PDF as a Gallery
This post is about the Gallery API in PSPDFKit for iOS that can be used to add interactive multimedia content to a PDF.
DEVELOPMENT | iOS • Swift • Insights
Binary Frameworks as Swift Packages
What we learned from experimenting with binary frameworks as Swift packages in Xcode 12.
DEVELOPMENT | iOS • Swift • Performance
Using Metal to Apply Image Filters
An overview of how to use Metal to apply filters to images to perform a simple color inversion on the input image.
DEVELOPMENT | iOS • Swift • UI/UX • Insights
The Case for Lists in UICollectionView
Exploring the power and flexibility offered by creating lists using UICollectionView.
DEVELOPMENT | iOS • Swift • Debugging • Insights
The Hidden Trap in Selective Table View and Collection View Reloads
Learn how to properly update cells in a table view or collection view without crashing.
TUTORIALS | iOS • Swift • How To • Redaction
Automatically Redact Faces with PSPDFKit for iOS
This post describes how to use PSPDFKit for iOS and Core Image to perform facial redaction in PDF documents.
DEVELOPMENT | iOS • Swift • Objective-C • Insights
NULL-Characters in Strings and Tales of Apple Radar
In iOS 11, Smart Punctuation caused data loss. Learn how we fixed the issue and how we are now cleaning up the OS-level workaround.
DEVELOPMENT | iOS • Swift • Tips • UI/UX
Level Up Your Trackpad Support Using UIInteraction
How to make your iOS app work well with scrolling, secondary clicking and dragging on a trackpad or mouse.
TUTORIALS | iOS • Swift • Objective-C • UI/UX • Insights
An In-Depth Look at Blur Effect Materials on iOS
This blog post talks in detail about the blur effect materials on iOS and the challenges we faced in picking the appropriate effect for our SDK.
DEVELOPMENT | iOS • Swift • Tips • UI/UX • Insights
Supporting Pointer Interactions
Apple introduced new pointer events in iOS 13.4 to better support trackpad and mouse devices.
TUTORIALS | iOS • Web • Swift • React • How To • SwiftUI
Introduction to SwiftUI for React Developers (Part 2)
A discussion about the basic concepts of SwiftUI from the point of view of a React developer
TUTORIALS | iOS • Web • Swift • React • How To • SwiftUI
Introduction to SwiftUI for React Developers (Part 1)
A discussion of the basic concepts of SwiftUI from the point of view of a React developer.
TUTORIALS | iOS • Swift • Objective-C • PDF • How To
How to Add Attribution to PDFs with PSPDFKit for iOS
Learn how to include attribution when sharing the contents of a PDF.
DEVELOPMENT | iOS • Swift • Objective-C • Tips • UI/UX
Adopting UIAppearance in Custom Views
Learn how to support styling your own custom views using UIAppearance.
2019
DEVELOPMENT | Swift • C++ • Insights
Introduction to C++ for Swift Developers
An introduction to the C++ language for Swift developers, with an overview of reasons to use C++ and a look at differences and similarities between the languages.
DEVELOPMENT | iOS • Swift • Objective-C • UI/UX
Adopting Dark Mode on iOS and Ensuring Backward Compatibility
A comprehensive overview of adopting Dark Mode in an iOS app, along with a few tips to make the process of development easier.
TUTORIALS | iOS • Swift • Objective-C • How To
Customizing Segmented Controls in PSPDFKit
We show how to customize the segmented controls in the document info coordinator.
DEVELOPMENT | iOS • Swift • Tips
Making a Resource Thread-Safe with Locks
We discuss how to ensure thread safety and synchronization via locking.
TUTORIALS | iOS • How To • Swift • Instant • Annotations
Strategies for Saving and Syncing Annotations Using External Files
We discuss the different strategies for saving and syncing annotations in external files on iOS.
TUTORIALS | iOS • Swift • How To
Inserting an Image into a PDF with Swift
We provide a step-by-step explanation of how to insert an image into a PDF using Swift.
TUTORIALS | iOS • Swift • Objective-C • PDF • How To
Is My Document a Valid PDF?
This article looks at multiple factors used to determine the validity of a PDF.
DEVELOPMENT | iOS • Swift • Tips
Swizzling in Swift
A quick crash course on how to swizzle correctly, and how to do it in Swift 5.1
DEVELOPMENT | iOS • Swift • PDF • Tips
Working with PDF Metadata in Swift
How and what metadata can be stored in a PDF, and how to programmatically work with this information.
TUTORIALS | iOS • Swift • How To
Drawing on PDFs Using Ink Annotations
We show how to draw on a PDF using an ink annotation in PDFKit.
TUTORIALS | iOS • Swift • PDF • How To • SwiftUI
How to Show a PDF in SwiftUI
How to show a PDF using SwiftUI, Apple's PDFKit, and PSPDFKit for iOS.
TUTORIALS | iOS • Swift • PDF • How To
Merge PDFs in Swift
How to merge multiple PDF files in Swift.
TUTORIALS | iOS • Swift • Objective-C • PDF • How To • Security
Secure Documents with PSPDFKit for iOS
How to secure documents using PSPDFKit for iOS.
TUTORIALS | iOS • Swift • How To
PDF Text Extraction in Swift
We demonstrate how to extract text from a PDF using Swift via PDFKit.
TUTORIALS | iOS • Swift • How To
Watermarking a PDF on iOS
We explain how to watermark a PDF — both temporarily and permanently.
TUTORIALS | iOS • Swift • How To
Extracting Images from a PDF in Swift
How to extract images from a PDF with Swift.
DEVELOPMENT | iOS • Swift • Insights
PSPDFKit and Swift
Will PSPDFKit for iOS move to Swift? In this post, we weigh the pros and cons.
TUTORIALS | iOS • Swift • How To
’Annotate PDFs with Images via PDFKit’
’We show you how to annotate a PDF with an image via PDFKit.’
DEVELOPMENT | iOS • Swift • Tips • Debugging
Adding Logging to Crash Reports
Understanding crash reports is often difficult without extra context. Learn how we attach application logs to crash reports via Google's Firebase Crashlytics in the free PDF Viewer for iOS app.
TUTORIALS | iOS • Swift • How To
Converting an Image to a PDF in Swift
We provide a step-by-step explanation of how to convert an image to a PDF.
TUTORIALS | iOS • Swift • HTML • How To
How to Convert HTML to PDF with Swift
A tutorial about how to convert simple HTML to PDF using Swift.
DEVELOPMENT | iOS • macOS • Swift • Objective-C • Tips
Writing and Maintaining Good Code Documentation
Tips, tricks, and techniques for documenting your code the correct way.
TUTORIALS | iOS • Swift • How To
Creating a PDF in Swift Using PDFKit
How to create and customize a PDF in Swift using PDFKit.
TUTORIALS | iOS • Swift • Objective-C • How To
Converting an Attributed String to a PDF
How to convert a string with formatting to a PDF.
2018
DEVELOPMENT | iOS • Swift • Objective-C • Insights
Self-Sizing Table View Cells in Practice
A look at self-sizing table view cells for apps supporting iOS 10, 11, and 12, covering three implementation approaches and some pitfalls I encountered supporting these across our UI in PSPDFKit.
TUTORIALS | iOS • Swift • How To
Search and Redact Text in Swift
How to search and redact text using Swift and PSPDFKit for iOS.
DEVELOPMENT | iOS • Swift • C++ • Open Source • Tips
Tips and Tricks for Contributing to the Swift Language
This post describes the process for contributing code to the Swift programming language, including how to propose changes to the language, write a pull request, address feedback, and make your code part of the next version of the language.
DEVELOPMENT | iOS • Swift • Objective-C • Performance
Using Signposts for Performance Tuning on iOS
A look at the different ways that we measure and try to improve performance at PSPDFKit.
DEVELOPMENT | iOS • Swift • Insights
Smart Grid Sizing
How PSPDFKit is smart about choosing thumbnail sizes.
TUTORIALS | macOS • Swift • How To • PDF
Exporting Images from PDF with PSPDFKit for macOS
We'll look at how a simple Swift script and PSPDFKit for macOS can be used to export image assets for your website or app from a vector PDF graphic, using an iOS app icon as an example.
PRODUCTS | iOS • Swift
First-Class Swift API for Objective-C Frameworks
Objective-C and Swift interoperability with PSPDFKitSwift
TUTORIALS | iOS • Swift • How To • PDF
Ways to Create a PDF on iOS
We look at the different ways of creating a PDF on iOS.
DEVELOPMENT | iOS • Swift • Insights
Binary Frameworks in Swift
ABI? Module stability? What does binary stability mean, and how will it affect you?
2017
DEVELOPMENT | iOS • Swift • Instant • Tips
How to Use iOS Data Protection
How apps can use iOS Data Protection to secure their files.
DEVELOPMENT | iOS • React Native • Swift • JavaScript
Native View Controllers and React Native - It Just Works™
DEVELOPMENT | iOS • Swift • Objective-C
Even Swiftier Objective-C
DEVELOPMENT | iOS • Swift • Objective-C • Insights
The Case for Deprecating UITableView
2016
TUTORIALS | iOS • Swift • How To
Opening a PDF in Swift
DEVELOPMENT | iOS • Swift • Objective-C • Insights
Swifty Objective-C
DEVELOPMENT | iOS • Swift • Objective-C • Insights
Surprises with Swift Extensions