Post

Using PaperKit from SwiftUI

This is a cross-post from ObjectivePixel’s blog

I’ve had an iPad app idea rattling around in my head for a while which would leverage PencilKit and a drawing canvas. When I saw that iOS 18 introduced a new framework called PaperKit, I was immediately intrigued. PaperKit appears to be the framework that powers the markup functionality in various Apple apps.

The main challenge with PaperKit is that it’s designed for UIKit, so integrating it with SwiftUI requires creating a wrapper. This post presents a solution to that problem:

Original article by ObjectivePixel - Read the full post here

This post is licensed under CC BY 4.0 by the author.