Swift UI

How to setup swift UI on vscode(Ubuntu 20.04) ?

SwiftUI is a closed-sourced, API that is only available on Apple OSes.

I see, thanks. Is it possible to upload my script on a website who provides remote machines and test my script there?

Because SwiftUI is a proprietary framework for Apple, I would think it will be hard to find a machine that provides access to SwiftUI in a MacOS environment that doesn't get Apple's scrutiny.

There are a couple of open-source SwiftUI implementations that are "clean room" re-implementations based on documentation and observed behavior. However there is no guarantee that the frameworks will work on a Mac/iPhone/iPad/Apple Watch as the private Apple frameworks will. It's all volunteer work. I think they also support other graphics platforms other than Apple platforms.