#3 Explore Swift Snapshot Testing on iOS

Hi, I am happy to share how I implement Snapshot Testing using swift-snapshot-testing library from Pointfree's GitHub! Snapshot Testing is one of testing strategy that compares saved captured screen image with the new captured screen image, so that we can know that if the UI is altered or not, to maintain the UI consistency. Let … Continue reading #3 Explore Swift Snapshot Testing on iOS

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