getsidetrack / swiftui-pipify

A SwiftUI component for launching custom picture-in-picture experiences
MIT License
155 stars 14 forks source link

Remove ViewRepresentable Objects #2

Open Sherlouk opened 2 years ago

Sherlouk commented 2 years ago

Currently I am using a UIViewRepresentable (NS for macOS) object to help with rendering a CALayer into the view hierarchy. This is because I was unable to find (in my limited time experimenting with this) a way to render a CALayer directly with available SwiftUI components.

This ticket acts as a placeholder for the work to remove this platform conditional logic.