-
Just learning TCA 1.8.2(and it's fabulous) with interactive tutorial, chapter Navigation Tutorial says that if you want to model multiple presentation on one screen, you should use a single state property When I do so, compiler fails on ContactsFeature.State, because it is not conforms to I figured out that I can remove So, is it right behaviour described by tutorial? What should I change to make it work? Here is the code, I tried make it as short as possible:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There may be a step missing from the tutorial that shows how to make those types |
Beta Was this translation helpful? Give feedback.
There may be a step missing from the tutorial that shows how to make those types
Equatable
. I'll take a look, but in the meantime you can find info on how to do that here:https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/reducers#Synthesizing-protocol-conformances-on-State-and-Action