Prototype SwiftUI wrapper for PaperKit

For anyone interested, I put together a simple SwiftUI proof-of-concept wrapper around PaperKit:

https://blog.objectivepixel.com/posts/using-paperkit-papermarkerview-in-swiftui

Gist on Github: PaperKit SwiftUI

Thanks for putting that together @clarkezone !

This crashes in the simulator with:

[MTLDebugRenderCommandEncoder setRenderPipelineState:]:1627: failed assertion `Set Render Pipeline State Validation
renderPipelineState must not be nil.

To be fair, any sample code I've found that tries to run PaperMarkupViewController on the simulator crashes. Is it possible to test PaperKit on the simulator?

Prototype SwiftUI wrapper for PaperKit
 
 
Q