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.
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.