Cleaning AppDelegate or SceneDelegate Using ViewControllerFactory

Factory Design Pattern Illustration Overview AppDelegate or SceneDelegate is the main file that we as iOS developers know to configure, inject, or instantiate a global instance or frameworks. This place become essential, especially because it is actually the starting point of our app. Because it knows so many things, like configuring the frameworks, handling push … Continue reading Cleaning AppDelegate or SceneDelegate Using ViewControllerFactory

Compose Your UseCases to Create New Functionality using Composite Reuse Principle

On the previous article, we already learn about how to create a UseCase. In this article, we are going to learn how we can composes use case and create new one that has different functionality, using Composite Reuse Principle. Let's visit the previous article example. The previous example, we have a LoadTransactionsUseCase protocol to get a general picture … Continue reading Compose Your UseCases to Create New Functionality using Composite Reuse Principle

Improve Your Unit Testing Readability using SUT Helper Method

Photo by Markus Winkler on Unsplash Unit Testing is really important to guarantee that the code that we write is work. As a Software Engineer, sometimes dealing with testing can be little bit difficult to read, if we don’t do it in a clean and proper way. SUT stands for System Under Test, is a system … Continue reading Improve Your Unit Testing Readability using SUT Helper Method