GGGabriel Gonçalvesinswiftlearningnow.hashnode.dev·May 9, 2021 · 8 min readUnit TestThe importance of test in code To create a quality product, one of the prerequisites is to test the product, not only in the sense of getting feedback from people, because we should know if it would impact their lives but in the backend sense, in the...00
GGGabriel Gonçalvesinswiftlearningnow.hashnode.dev·May 2, 2021 · 5 min readHow to use Dependency Injection?What is dependency injection? According to Wikipedia definition: Dependency injection is a technique in which an object receives other objects that it depends on. These other objects are called dependencies. In the typical "using" relationship the r...00
GGGabriel Gonçalvesinswiftlearningnow.hashnode.dev·Apr 4, 2021 · 5 min readCoordinator Pattern - BasicThere are several tutorials on internet explaining the origin and how it works, so I’ll briefly explain why every swift developer has to know the coordinator pattern. Problem Remember that the function of the design pattern is to solve a problem that...00
GGGabriel Gonçalvesinswiftlearningnow.hashnode.dev·Mar 25, 2021 · 7 min readObserver Pattern Part #2In this post, we will start creating the timer. We will create a class that will do this management, which will be called AuctionViewModel.swift. Let's instantiate it in the ViewController. class ViewController: UIViewController { let uiAuction =...00
GGGabriel Gonçalvesinswiftlearningnow.hashnode.dev·Mar 20, 2021 · 11 min readObserver Pattern Part #1The Observer Pattern is a behavioral design pattern if you don't know what design pattern see this POST. Understanding this pattern is fundamental because it is common in the iOS developer day-to-day. What is Observer Pattern It makes a one-to-many c...00