swift-composable-architecture
swift-composable-architecture copied to clipboard
[Building Sync-ups Tutorial] fixes in "Navigating to sync-up detail" chapter
Hi!
Following my last PR, I'm currently reviewing the "Building Sync-ups" tutorial and so far, there is a lot of changes so I've splitted up into one PR per chapter to ease the review of them, continuing with the "Navigating to sync-up detail" chapter here…
Changes Made:
-
CardView Update: The
CardView
component has been updated to utilizeforegroundStyle
instead of the deprecatedforegroundColor
. -
Refactoring for Compilation Errors:
- In SyncUps view encapsulate the shared collection within an
Array
in theForEach
loop. - In navigation tests, encapsulate the
sharedSyncUp
within aShared
structure. - Path manipulation has been updated to utilize case-based access.
- Modify
syncUps
list usingwithLock
.
- In SyncUps view encapsulate the shared collection within an