Replies: 1 comment 1 reply
-
@emlynmac Are you caught up on episodes? The sample you link to is from 229, which is before the If you share a full code sample that you're trying to get to work on |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I’m working through updating my app to TCA ReducerProtocol and I’m looking to include the navigation components laid out with Destinations.
I’ve got my project hooked up to TCA navigation-beta branch and have a basic sheet implementation almost working.
I’m using this as a reference for the implementation:
https://github.com/pointfreeco/episode-code-samples/blob/5c17384710ae8ef9bc3457a7d1d9fc7982281ea8/0229-composable-navigation-pt8/Inventory/Inventory/Inventory.swift#L319
The main issue I have is that the
.sheet
view modifier in the episode does not seem to be in the navigation-beta branch:https://github.com/pointfreeco/episode-code-samples/blob/5c17384710ae8ef9bc3457a7d1d9fc7982281ea8/0229-composable-navigation-pt8/Inventory/Inventory/Navigation.swift#L147
It looks to me like the view modifier should have optional presentation state in this file:
swift-composable-architecture/Sources/ComposableArchitecture/SwiftUI/Sheet.swift
Line 20 in 5fbce50
Am I missing something or should this be optional?
If I use the functions from the episode, I'm good to go:
Beta Was this translation helpful? Give feedback.
All reactions