This repository was archived by the owner on Feb 24, 2025. It is now read-only.
Repository navigation
Commit c3ae384
authored
Refactor AppDelegate (milestone 1) (#3727)
Task/Issue URL: https://app.asana.com/0/0/1208832732122403/f
Tech Design URL: https://app.asana.com/0/481882893211075/1208859623176995/f
CC: @bwaresiak
**Description**:
- Migrate the app’s startup flow into a state machine with clearly
defined states, each specifying its dependencies to ensure the necessary
resources are available before execution.
- Keep the flow primarily synchronous as it currently is, with some
exceptions for existing async code.
- Define explicit state dependencies to avoid optional objects, ensuring
clarity about what exists in each state.1 parent 42228ca commit c3ae384
27 files changed
Lines changed: 3164 additions & 1354 deletions
File tree
- Core
- DuckDuckGo.xcodeproj
- DuckDuckGoTests
- DuckDuckGo
- AppLifecycle
- AppStates
- AppServices
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | 168 | | |
179 | 169 | | |
180 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
971 | 971 | | |
972 | 972 | | |
973 | 973 | | |
974 | | - | |
975 | 974 | | |
976 | 975 | | |
977 | 976 | | |
| |||
1939 | 1938 | | |
1940 | 1939 | | |
1941 | 1940 | | |
1942 | | - | |
1943 | | - | |
| 1941 | + | |
1944 | 1942 | | |
1945 | 1943 | | |
1946 | 1944 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
90 | 88 | | |
91 | 89 | | |
92 | 90 | | |
| |||
134 | 132 | | |
135 | 133 | | |
136 | 134 | | |
137 | | - | |
138 | 135 | | |
139 | 136 | | |
140 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||


0 commit comments