You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple UI tour that can run both on native platforms and the web! It showcases different widgets that can be built using Iced.
10
9
11
-
The __[`tour`]__ file contains all the code of the example! All the cross-platform GUI is defined in terms of __state__, __messages__, __update logic__ and __view logic__.
10
+
The __[`main`](tour/src/main.rs)__ file contains all the code of the example! All the cross-platform GUI is defined in terms of __state__, __messages__, __update logic__ and __view logic__.
@@ -26,19 +24,17 @@ The __[`tour`]__ file contains all the code of the example! All the cross-platfo
26
24
27
25
You can run the native version with `cargo run`:
28
26
```
29
-
cargo run --example tour
27
+
cargo run --package tour
30
28
```
31
29
32
30
The web version can be run by following [the usage instructions of `iced_web`] or by accessing [iced.rs](https://iced.rs/)!
33
31
34
32
[the usage instructions of `iced_web`]: ../web#usage
35
33
34
+
## [Todos](todos)
35
+
A todos tracker inspired by [TodoMVC]. It showcases dynamic layout, text input, checkboxes, scrollables, icons, and async actions! It automatically saves your tasks in the background, even if you did not finish typing them.
36
36
37
-
## [Todos](todos.rs)
38
-
39
-
A simple todos tracker inspired by [TodoMVC]. It showcases dynamic layout, text input, checkboxes, scrollables, icons, and async actions! It automatically saves your tasks in the background, even if you did not finish typing them.
40
-
41
-
All the example code is located in the __[`todos`]__ file.
37
+
The example code is located in the __[`main`](todos/src/main.rs)__ file.
42
38
43
39
<divalign="center">
44
40
<ahref="https://gfycat.com/littlesanehalicore">
@@ -48,15 +44,67 @@ All the example code is located in the __[`todos`]__ file.
48
44
49
45
You can run the native version with `cargo run`:
50
46
```
51
-
cargo run --example todos
47
+
cargo run --package todos
52
48
```
53
49
We have not yet implemented a `LocalStorage` version of the auto-save feature. Therefore, it does not work on web _yet_!
54
50
55
-
[`todos`]: todos.rs
56
51
[TodoMVC]: http://todomvc.com/
57
52
58
-
## [Coffee]
53
+
## [Pokédex](pokedex)
54
+
An application that helps you learn about Pokémon! It performs an asynchronous HTTP request to the [PokéAPI] in order to load and display a random Pokédex entry (sprite included!).
55
+
56
+
The example code can be found in the __[`main`](pokedex/src/main.rs)__ file.
0 commit comments