Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

I really like the approach explained in this repo, however, there's one thing I don't have an satisfactory/convincing answer: Where to mutate AppState.
I often mutate it in an interactor implicitly, thinking whether it is a right thing or not. I'm even not sure passing AppState to interactor is acceptable move.

One thing come to mind is, given that SwiftUI.View is not UIView nor UIViewController but more like a place to declare UI and data flow, a View is the right place?

What do you think, in this repo's context?
I know this kind of discussion has no "Answer", but would like to hear the approaches of professionals around the world.

You must be logged in to vote

Re-read codes and seems it's okay. Why I've missed...

Replies: 1 comment

Comment options

Re-read codes and seems it's okay. Why I've missed...

You must be logged in to vote
0 replies
Answer selected by aerobounce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.