mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-02 12:58:23 +00:00
* build(deps): bump @biomejs/biome from 2.0.6 to 2.1.1 Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.0.6 to 2.1.1. - [Release notes](https://github.com/biomejs/biome/releases) - [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md) - [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.1.1/packages/@biomejs/biome) --- updated-dependencies: - dependency-name: "@biomejs/biome" dependency-version: 2.1.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix lint error * Fix lint * [autofix.ci] apply automated fixes --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nigel Breslaw <nigel.breslaw@slint.dev> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.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.