尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
Build native Apple apps in Haxe. Your code compiles to C++ through hxcpp and
Xcode produces a genuine SwiftUI application for macOS, iOS, iPadOS and
visionOS.
That is examples/counter, unabridged.
Not at build time. It builds a view tree, SwiftUI is built from that tree at
runtime, and a state write reaches the views that display it and nothing else.
An earlier design transpiled body() into SwiftUI ahead of time. That
transpiler is kept but no longer used, and
Render paths says what
replaced it and why — worth reading before touching the --static flag.檢視完整 README ↗Build native Apple apps in Haxe. Your code compiles to C++ through hxcpp and Xcode produces a genuine SwiftUI application for macOS, iOS, iPadOS and visionOS.
import sui.App;
import sui.View;
import sui.ui.*;
class CounterApp extends App {
@:state var count:Int = 0;
public function new() {
super();
appName = "Counter";
bundleIdentifier = "com.sui.counter";
}
override function body():View {
return new VStack([
Text.bind('Count: $count').font(FontStyle.Title).padding(),
new HStack(null, 20, [
new Button("-", () -> count--),
new Button("+", () -> count++)
])
]);
}
}
That is examples/counter, unabridged.
body() runs on the deviceNot at build time. It builds a view tree, SwiftUI is built from that tree at runtime, and a state write reaches the views that display it and nothing else.
An earlier design transpiled body() into SwiftUI ahead of time. That
transpiler is kept but no longer used, and
Render paths says what
replaced it and why — worth reading before touching the --static flag.
haxelib git sui https://github.com/lapavoiserie/sui
haxelib run sui init MyApp
cd MyApp && haxelib run sui run # macos, or: run ios
Needs Haxe 4.3+, hxcpp, Xcode and xcodegen.
Anything that is not a view — the battery, the camera, secure storage — lives in
kui, keyed by operating system, so the
same implementation serves a sui application and any other backend building
for the same platform.
sui is one backend of mui, which gives
an application one view vocabulary across six of them —
aui for Android,
wui for Windows,
cui for the terminal, and others. The
same body() runs on all of them.
https://lapavoiserie.github.io/sui/
MIT.