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
Photo by helloimnik on Unsplash Introduction A Builder pattern is one of Design Pattern that belongs to the creational Design Pattern. The pattern exist to solve issue on creating a complex object. This pattern can helps developer to create an object in a simple and elegant way. To use the pattern, we need to create … Continue reading Implementing Builder Pattern to create Navigation Stack for UIViewController on iOS
💡 This article is originally written on my Medium in 2018 and moved here in 2021 MVC Diagram MVC (Stands for Model-View-Controller) is a design pattern in software engineering world that has around for many years. It is always been good to make your code has separate layer between the Model, View and the Controller. … Continue reading MVCS on iOS with Alamofire
Pada pengembangan aplikasi, Design Pattern (pola-pola perancangan) merupakan hal yang penting untuk diterapkan untuk memudahkan developer. Kali ini, penulis mau bahas tentang MVC, yaitu Model-View-Controller. MVC adalah salah satu compound Design Pattern yang memisahkan urusan antara komponen Model, View dan Controller. Intinya, kode tentang View, tidak dicampurkan dalam kode Model, dan seterusnya. MVC dapat membantu … Continue reading Model-View-Controller (MVC)? Apa? Kenapa?
MVVM (Model-View-ViewModel) is another design pattern that people used in mobile development, including on iOS. This pattern gains popularity amongs mobile developer since the “C” layer from MVC handle so many things. Some people jokes about Massive-View-Controller (MVC) because the ViewController not really a controller, it also handle the UI, networking, and others. MVVM provides … Continue reading MVVM on iOS with Alamofire