· Matthew Watt · One-offs
Securely save a SwiftUI view as a password-protected PDF
In order to develop the secure PDF seed phrase backup feature for Nighthawk Wallet 2.0, I needed to figure out how to render a SwiftUI view as a PDF and password protect it with a user-supplied password. In this guide, I share what I learned.