Mobile Oct 1, 2020

Building a PDF Viewer in 40 Minutes

Swift Heroes Digital 2020 1-2 October, #directtoyourdevice

Building a PDF Viewer in 40 Minutes Peter Steinberger, Founder, PSPDFKit

Follow me along as I take the main view controller of PSPDFKit and wrap it into a SwiftUI view, add custom configuration properties, make methods on the view controller accessible via Combine publishers, use a Coordinator to wrap the delegate into modern closures and call pre-built popovers from a SwiftUI Navigation Bar.

This will be a Xcode coding session where I explain the concepts as I’m building the component. We look at tradeoffs with iOS 13 vs iOS 14 compatibility, some tricks to work around bugs, SwiftUI lifetime, considerations for Combine cancellables and much more.

#SwiftConnected https://twitter.com/swiftheroes_it https://www.linkedin.com/showcase/swihttps://www.instagram.com/swiftheroes/ https://www.facebook.com/swiftheroes