Virtualization

I know how to use Virtualization now

But I don't know how to write interface in AppKit

So I should find a way to embed a NSView(the VM's UI) in a SwiftUI View

However

I couldn't find any reference on how except NSViewRepresentable which, of course, will not work

I know there must be a easy way to do this

But I'm just can't find it...

any help is appreciated

The SwiftUI docs discuss this; see Other UI Framework Views Displayed by SwiftUI.

You wrote:

I couldn't find any reference on how except NSViewRepresentable which, of course, will not work

Ah, um, why not?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Virtualization
 
 
Q