Skip to content

Adaptation of ViewStore Binding in SwiftUI 1.7 Migration #3086

Answered by stephencelis
topkim993 asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like that information is missing from the guide. Opened #3087 to address, but here's an example:

Note that if you want test coverage on the logic in custom bindings, you can refactor this logic into the reducer.

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@topkim993
Comment options

@Matejkob
Comment options

@topkim993
Comment options

@topkim993
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by topkim993
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Alex1478
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants