Clean code, S.O.L.I.D., testability, abstractions, separation of concerns, etc.

These and other important iOS / Swift development good practices
explained simply and with memes 🤣

Recent Posts:

How to implement scalable and testable SwiftUI navigation?
  • 2023-08-09
How to implement scalable and testable SwiftUI navigation?

Although SwiftUI is a great framework, it’s not without its limitations. If you’ve ever had to implement a complex application, utilizing branching navigation flows, you probably know what I am talking about. Yes, navigation components in SwiftUI have been a constant source of headache…  An iOS 16 addition, the NavigationStack,…

Why is code quality crucial in iOS apps? Explained with memes.
  • 2023-07-11
Why is code quality crucial in iOS apps? Explained with memes.

How much is it going to cost me to implement these Unit Tests? Is this refactor really necessary? Money doesn’t grow on the trees, you know… As mobile devs we’ve heard similar questions more times than we care to remember. Whenever we brooch the subject of improving the quality of…

How to test UIKit & SwiftUI views
  • 2023-06-09
How to test UIKit & SwiftUI views? Explained with memes.

The benefits of having an exhaustive automated tests suite are obvious to anyone who ever worked on an app for more than a few months. We’ve all seen what lack of code maintenance might do: duplication, hidden side effects, convoluted business logic. A project codebase is like a garden -…

How to implement networking client part 2
  • 2023-05-01
How to implement universal networking module in Swift (pt.2)

Let’s pick up where we left off! So far in part 1 we’ve discussed how to make a universal and robust networking client. Now, let’s take a look at how we can make it even better. Arguably, the most important feature of any universal tool is extendibility. We cannot account…

How to implement networking client part 1
  • 2023-04-10
How to implement universal networking module in Swift (pt.1)

What’s the first service you usually implement in an app? It’s either networking or storage, right? And when it comes to networking, what are your choices? Most people either operate on URLSession directly, leveraging its multiple APIs, or add a 3rd party library like Alamofire.  But there is also a…