Hey iOS developer! 👋
Earlier this week, I launched a new series of short articles called Monday Quick Read, where I share my personal experiences and thoughts on software development, particularly iOS.
This week’s article was about managing the interoperability challenges when working with Objective-C and Swift code in the same project.
Now, let’s dive into the main topic of this Curated iOS newsletter, and one of the more debated subjects when building SwiftUI apps — architecture.
Selecting the right architecture is a critical task when starting a new project, and it can vary depending on the business model and the APIs being used. So, let’s explore what the iOS community has to offer on this topic.
Choosing a Design Pattern for your SwiftUI App
I love a good story about making development and architecture decisions. In this article, Alex Anderson shares how, as the lead architect on his iOS team, he chose the right architecture for their SwiftUI project, and what steps you can take to make a similar decision.
Read on Medium
Architectures for SwiftUI applications
In this article, Nuibb Hasan discusses the pros and cons of the two most popular architectures for SwiftUI: MVVM and TCA.
Read on Medium
MVVM vs TCA
What I find most interesting in this article by Aleksa Simic is how he and his team managed to rewrite their app from UIKit in Swift, which had already been rewritten once from Objective-C. Aleksa shares his experiences with both MVVM and TCA, highlighting the differences between the two architectures. I won’t spoil which architecture ultimately won Aleksa's choice, so check out the article to find out! 🙂
Read on Aleksa Simic Blog
Building Large-Scale Apps with SwiftUI: A Guide to Modular Architecture
This isn't just an ordinary article — it's fundamental research by Mohammad Azam that provides an in-depth guide to modular architecture, packed with detailed code examples.
Read on AzamSharp
A Beginner’s Guide to Clean Architecture in SwiftUI: Building Better Apps Step by Step
It's not uncommon for applications that start with a small number of features to suddenly grow into a massive codebase, making them difficult to maintain. The title of the article speaks for itself. Wahyu Alfandi provides a detailed explanation of clean architecture in SwiftUI.
Read on Medium
MVVM: An architectural coding pattern to structure SwiftUI Views
Antoine van der Lee's article teaches us how to transition from a non-MVVM app to a codebase implemented with the MVVM pattern. What I especially liked is that the author demonstrates how we can delve deeper by leveraging protocols.
Read on Antoine van der Lee blog
MVVM in SwiftUI for a Better Architecture [with Example]
This article is a valuable resource for gaining in-depth knowledge of MVVM in SwiftUI, supported by practical code examples.
Read on Matteo Manferdini site
MV pattern in SwiftUI
Aleksa is the leading contributor for this issue, and I’ve included two of his articles on SwiftUI architecture. With his insights, we can dive into the MV pattern based on his experience building a new project from scratch. In his previous article, he compared the TCA pattern with MVVM. Now, he examines the MV pattern in comparison to MVVM. Check it out for yourself to see which architecture comes out on top.
Spoiler alert: Aleksa and his team eventually had to migrate back…
Read on Aleksa Simic Blog
The Composable Architecture: Swift guide to TCA
TCA is gaining traction as an alternative to MVVM. While it can be challenging to grasp at first, it becomes easier as more people adopt it. I recommend starting your exploration of TCA with the article by Dmitry Lupich.
Read on Medium
Getting Started with The Composable Architecture (TCA)
I believe one article about TCA isn't enough, so I have another one for you. This time, it's by Kanagasabapathy Rajkumar, who explains the fundamentals of the pattern and delves deep into what it has to offer.
Read on Swift Published
How to get started with The Composable Architecture (TCA) 👩🏽💻👨🏻💻 (free iOS tutorial)
An in-depth getting-started guide by Vincent Pradeilles takes you through the official tutorials from the creators of TCA.
Watch on YouTube
If you’ve enjoyed this issue - hit the Like button and subscribe, if you haven’t already!
Stay tuned for more in the upcoming issues. Until next time!
Artjoms