OpenSwiftUI is an open source implementation of Apple's SwiftUI
The project is for the following purposes:
And the API design is to stay the same as the original SwiftUI API as possible.
Currently, this project is in early development.
You can find the API documentation here.
[!WARNING] This package use a lot of hidden API and private framework on Apple platform.
Please DO NOT use this package in Apple's production environment(eg. App Store).
Otherwize it may break your build or crash your app at any future SDK/OS update.
See Example folder and try it with ExampleApp
[!IMPORTANT]
Clone OpenGraph in the same directory before running the example.See Example/README.md for more detail.
./Scripts/build
./Scripts/openswiftui_swiftinterface
The table below describes the current level of support that OpenSwiftUI
has
for various platforms:
[^1]: AppKit and other UI framework backend is not intergrated yet.
[^2]: UIKit intergration is partly implemented. No Render support yet.
[^3]: Build and test is supported. But some feature is cut due to known Swift compiler issue.
[^4]: Build is supported. Test is not supported yet dut to upstream issue.
[!NOTE] The cross-platform OpenGraph is not fully implemented.
It is only API compatible with AttributeGraph now.
So most of the core feature is only available on Apple platform built with AttributeGraph varient.
See LICENSE file - MIT