Commit c98e309
authored
A coordinator handles the app's navigation (#626)
## Summary
Navigation was somewhat scattered throughout the app and the gallery had
a central role. This merge request introduces a class for handling the
app's navigation. Eventually it could also help with scenarios like
starting the app from cold start with the running timer for a particular
goal shown.
*For UI changes including screenshots of before and after is great.*
## Validation
Running the app in the simulator.
Navigating around:
- signing in
- signing out
- viewing gallery
- opening goal from gallery
- opening edit datapoint
- canceling edit datapoint
- opening settings and its children
- opening goal from spotlight result tap
- opening app from tapping notification
Fixes #622
Other Locations:
- [ ] EditDatapointVC dismisses directly upon deleting a datapoint
- [ ] EditDatapointVC dismisses directly upon successfully updating a
datapoint
- [ ] AlertVC are still handled around where they are displayed
- [ ] GoalVC shows the SafariVC
- [ ] TimerVC dismisses itself (indirectly)1 parent 39bf5a5 commit c98e309
File tree
10 files changed
+333
-167
lines changed- BeeSwift.xcodeproj
- BeeSwift
- Gallery
- Settings
10 files changed
+333
-167
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
| 207 | + | |
206 | 208 | | |
207 | 209 | | |
208 | 210 | | |
| |||
447 | 449 | | |
448 | 450 | | |
449 | 451 | | |
| 452 | + | |
450 | 453 | | |
451 | 454 | | |
452 | 455 | | |
| |||
959 | 962 | | |
960 | 963 | | |
961 | 964 | | |
| 965 | + | |
962 | 966 | | |
963 | 967 | | |
964 | 968 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
134 | | - | |
| 135 | + | |
| 136 | + | |
135 | 137 | | |
136 | 138 | | |
137 | 139 | | |
138 | 140 | | |
139 | 141 | | |
140 | 142 | | |
| 143 | + | |
141 | 144 | | |
142 | 145 | | |
143 | 146 | | |
| |||
159 | 162 | | |
160 | 163 | | |
161 | 164 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | 280 | | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
| 281 | + | |
294 | 282 | | |
295 | 283 | | |
296 | 284 | | |
| |||
316 | 304 | | |
317 | 305 | | |
318 | 306 | | |
319 | | - | |
320 | 307 | | |
321 | 308 | | |
322 | 309 | | |
323 | | - | |
| 310 | + | |
324 | 311 | | |
325 | 312 | | |
326 | 313 | | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | 314 | | |
337 | 315 | | |
338 | 316 | | |
| |||
426 | 404 | | |
427 | 405 | | |
428 | 406 | | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | 407 | | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
| 408 | + | |
462 | 409 | | |
463 | 410 | | |
464 | 411 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
67 | | - | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
361 | 364 | | |
362 | 365 | | |
363 | 366 | | |
364 | | - | |
365 | | - | |
366 | | - | |
| 367 | + | |
367 | 368 | | |
368 | 369 | | |
369 | 370 | | |
| |||
401 | 402 | | |
402 | 403 | | |
403 | 404 | | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
| 405 | + | |
408 | 406 | | |
409 | 407 | | |
410 | 408 | | |
| |||
0 commit comments