Hi Saren, very nice to meet you!
You are right on everything you wrote.
The architecture you are suggesting goes in the direction of a Redux-like architecture. An example of it is the Composable Architecture by pointfreeco.
(https://github.con/pointfreeco/swift-composable-architecture) and it exactly describes what you wrote.

That architecture is slightly more advanced and more suited when the complexity increases.

It’s up to us, as software engineer, to decide when to use one architecture or the other!

Thanks for your comment!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Riccardo Cipolleschi
Riccardo Cipolleschi

Written by Riccardo Cipolleschi

Hey there, I’m Riccardo. Software engineer at Meta. I have a passion for iOS and I love to share my knowledge with others.

Responses (1)

Write a response

Yes indeed it is based on TCA. Really nice and powerfull but also a bit high level for many (and sadly enough only iOS13+ due to combine).
And you are totally right that everyone is free to do whatever they like =] I just ended up with this…