swift-composable-architecture icon indicating copy to clipboard operation
swift-composable-architecture copied to clipboard

[Building Sync-ups Tutorial] fixes in "Navigating to sync-up detail" chapter

Open FredericRuaudel opened this issue 3 weeks ago • 0 comments

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 utilize foregroundStyle instead of the deprecated foregroundColor.
  • Refactoring for Compilation Errors:
    • In SyncUps view encapsulate the shared collection within an Array in the ForEach loop.
    • In navigation tests, encapsulate the sharedSyncUp within a Shared structure.
    • Path manipulation has been updated to utilize case-based access.
    • Modify syncUps list using withLock.

FredericRuaudel avatar Feb 02 '25 09:02 FredericRuaudel