• 2024-08-13
How to unlock code flexibility applying S.O.L.I.D. Open-Closed Principle?

The Open-Closed Principle (OCP) represents the letter "O" in S.O.L.I.D. It teaches us to create software that is open to extension but closed to change, enhancing its maintainability and scalability. To be honest, the OCP is one of the most challenging S.O.L.I.D. principles to understand and apply in iOS projects.…

  • 2024-06-08
How to build a robust and scalable modular iOS app?

Recently, modularity has gained a lot of popularity in our field over the years. Architectures like TCA and VIPER pride themselves on their inherently modular design. Compared to a monolithic design, modularity offers various benefits: efficient work parallelization (especially in large teams), interchangeability, superior separation of concerns and responsibilities, and…

  • 2024-05-01
Why the best mobie apps need Software Craftsmanship?

What distinguishes a top 10% iOS developer? How can we draw parallels with the craftsmen of old? In what ways can we refine our skills following their lead? How should we select our projects, clients, and companies? Once involved in a project, how do we initiate change to ensure its…

  • 2024-04-15
When is Single Responsibility Principle helping us write better code?

How many responsibilities should a class have? As many as it needs! This is a common joke, but the reality often is far less amusing... How often do we encounter… “challenging” code annotated with "Do not change!!!" comments? Software development isn't rocket science. There are a few basic rules that most…

  • 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…

  • 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…

  • 2023-03-21
Why should you KISS your SwiftUI views? Explained with memes

If you've been a software developer for a while, you've likely heard about the Keep it Simple, Stupid (KISS) design principle. It suggests that our systems should be implemented in the simplest way possible across all application layers: persistence, services, business logic, and the UI. For all non-user facing app…

  • 2023-02-11
How to implement app analytics the right way

Picture this: You're finishing up an iOS app, and there's only one feature left to implement - the analytics. The client's marketing team has chosen a reputable framework that should be straightforward to integrate. They've even supplied a document detailing which user actions require tracking. It could take a day…