Open Kyle-Ye opened 1 year ago
I wonder if it's possible to use the WinUI infra as the backend on Windows platform.
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.
https://github.com/microsoft/WinObjC.git
There is a WinObjC project which provide UIKit compatible API on Windows too.
IIUC that framework is basically obsolete, it's a pretty good reference though.
I am working on GNUstep, which provides an almost complete Foundation implementation and a very mature but incomplete AppKit implementation in Objective-C. The issue is that Swift<->ObjC bridging is broken on Linux, and it will need a lot of fixes to the Swift compiler to fix that.
GNUstep supports almost every platform -- X11 and Wayland on Linux, BSD, and probably any other Unix that's supported by LLVM, and also supports Windows.
I am working on GNUstep, which provides an almost complete Foundation implementation and a very mature but incomplete AppKit implementation in Objective-C. The issue is that Swift<->ObjC bridging is broken on Linux, and it will need a lot of fixes to the Swift compiler to fix that.
Glad if you'd like to help replace the default CoreFoundation/Foundation/AppKit dependency with the your open source implementation.
Is it possible to use LVGL as backend ? https://github.com/lvgl/lvgl
Will work on this when basic UIView/NSView support is ready.