Commit 66334b3
committed
Implement SwiftUI's layout system (worse behaviour, but better performance)
Some of the bad behaviour from SwiftUI's layout system can probably be
mitigated, but other undesirable behaviour is probably the best we can
do, cause some things are impossible to compute nicely without laying
out child views more than once (a no go for performant layout)1 parent b8534f3 commit 66334b3
File tree
104 files changed
+1363
-8292
lines changed- Benchmarks/LayoutPerformanceBenchmark
- Sources
- AppKitBackend
- DummyBackend
- SwiftCrossUI
- Builders
- Environment
- Layout
- Scenes
- Values
- ViewGraph
- Views
- Modifiers
- Handlers
- Layout
- Lifecycle
- Style
- Shapes
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
104 files changed
+1363
-8292
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
533 | | - | |
| 533 | + | |
534 | 534 | | |
535 | 535 | | |
536 | 536 | | |
| |||
0 commit comments