2024
2023
2022
2021
SDK
DEVELOPMENT
iOS
Swift
Tips
Development
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.
SDK
DEVELOPMENT
iOS
Swift
Testing
Tips
Development
Swift Render Tests in Practice — Part III
How to automate regenerating and updating reference images for render tests.
SDK
DEVELOPMENT
iOS
Swift
Testing
Tips
Development
Swift Render Tests in Practice - Part II
How to improve test failures with attachments and grouping related test output.
SDK
DEVELOPMENT
iOS
Swift
Testing
Tips
Development
Swift Render Tests in Practice - Part I
How to pragmatically approach render testing for custom drawing code.
SDK
DEVELOPMENT
iOS
Swift
Tips
Debugging
Development
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.
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.
SDK
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.
SDK
DEVELOPMENT
iOS
Swift
Tips
Development
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.
SDK
DEVELOPMENT
iOS
Swift
Objective-C
Xcode
Testing
Development
Deflaking CI Tests with xcresults
We’re sharing some techniques for tracking down and fixing flaky Xcode tests on CI.
SDK
DEVELOPMENT
iOS
Swift
Tips
SwiftUI
UI/UX
Accessibility
Development
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.
SDK
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.
SDK
DEVELOPMENT
iOS
Swift
SwiftUI
Tips
Development
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.
SDK
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
SDK
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.
SDK
DEVELOPMENT
iOS
Swift
Tips
Development
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.
SDK
DEVELOPMENT
iOS
Swift
Tips
SwiftUI
UI/UX
Development
Presenting popovers from SwiftUI
Is there a way to present UIKit popovers from toolbar buttons managed by SwiftUI?
SDK
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.
SDK
DEVELOPMENT
Swift
Tips
Debugging
Development
An Introduction to LLDB Reproducers
An introduction to an experimental feature in LLDB, Reproducers, that helps reproduce bugs in the debugger itself.
SDK
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.
SDK
DEVELOPMENT
iOS
Swift
Insights
Development
Binary Frameworks as Swift Packages
What we learned from experimenting with binary frameworks as Swift packages in Xcode 12.
SDK
DEVELOPMENT
iOS
Swift
Performance
Development
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.
SDK
DEVELOPMENT
iOS
Swift
UI/UX
Insights
Development
The Case for Lists in UICollectionView
Exploring the power and flexibility offered by creating lists using UICollectionView.
SDK
DEVELOPMENT
iOS
Swift
Debugging
Insights
Development
The hidden trap in table and collection view reloads
Discover how to prevent crashes during selective updates in table views and collection views, ensuring smooth iOS app performance.
SDK
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.
SDK
DEVELOPMENT
iOS
Swift
Objective-C
Insights
Development
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.
SDK
DEVELOPMENT
iOS
Swift
Tips
UI/UX
Development
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.
SDK
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.
SDK
DEVELOPMENT
iOS
Swift
Tips
UI/UX
Insights
Development
Supporting Pointer Interactions
Apple introduced new pointer events in iOS 13.4 to better support trackpad and mouse devices.
SDK
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
SDK
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.
SDK
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.
SDK
DEVELOPMENT
iOS
Swift
Objective-C
Tips
UI/UX
Development
Adopting UIAppearance in Custom Views
Learn how to support styling your own custom views using UIAppearance.
2019
2018
2017
2016