mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-28 18:52:16 +00:00
--- updated-dependencies: - dependency-name: "@biomejs/biome" dependency-version: 2.1.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|---|---|---|
| .. | ||
| node | ||
| rust | ||
| ui | ||
| README.md | ||
Home Automation Demo
A fictional Home Automation User Interface.
.slint Design |
Rust Source | C++ Source | Node Source | Online wasm Preview | Open in SlintPad |
|---|---|---|---|---|---|
ui.slint |
main.rs |
main.js |
Online simulation | Preview in Online Code Editor |
Building and running on iOS
This demo can be cross-compiled to iOS to run on iPhones, iPads, and the respective simulators.
Prerequisites
- A computer running macOS.
- An up-to-date installation of Xcode.
- Xcodegen
- Rust. Add the target and simulator toolchains using
rustup target add aarch64-apple-iosandrustup target add aarch64-apple-ios-sim
Building
- Run
xcodegen -s ios-project.ymlto generate an XCode project file (.xcodeproj). - Open XCode and open the generated
.xcodeprojin it. - Run, deploy, and debug the demo from within Xcode.