OpenSwiftUIProject / OpenSwiftUI

[WIP] Open source implementation of Apple's SwiftUI.
https://swiftpackageindex.com/OpenSwiftUIProject/OpenSwiftUI/main/documentation/openswiftui
MIT License
883 stars 25 forks source link

Add other backend UI framework on non-Darwin platform #1

Open Kyle-Ye opened 9 months ago

Kyle-Ye commented 9 months ago

Will work on this when basic UIView/NSView support is ready.

chawyehsu commented 4 months ago

I wonder if it's possible to use the WinUI infra as the backend on Windows platform.

Kyle-Ye commented 4 months ago

I wonder if it's possible to use the WinUI infra as the backend on Windows platform.

Theoretically, it is possible. Recently, I have started to add some platform-related code (UIView/NSView) and rendering layer things.

If you are interested you are welcome to contribute platform code on the WinUI layer later.

Kyle-Ye commented 4 months ago

https://github.com/microsoft/WinObjC.git

There is a WinObjC project which provide UIKit compatible API on Windows too.

chawyehsu commented 4 months ago

IIUC that framework is basically obsolete, it's a pretty good reference though.