Mar 1Member-onlyBuilding Large-Scale Apps with SwiftUI: A Guide to Modular ArchitectureUpdate (03/02/2023): Added View Specific Logic section. Software architecture is always a topic for hot debate, specially when there are so many different choices. For the last 8–12 months, I have been experimenting with MV pattern to build client/server apps and wrote about it in my original article SwiftUI Architecture…Swiftui35 min readSwiftui35 min read
Nov 8, 2022Member-onlyBecoming an iOS Developer — The Complete Guide 2023It always excites me to see so many people jumping into iOS development. We have a great community with lot of talented people and it is continuously expanding. Recently, I have been talking to a lot of new developers and one of the main challenges they shared with me is…Software Development23 min readSoftware Development23 min read
Published inBetter Programming·Oct 30, 2022Member-onlyEvolving SwiftUI Architecture for Client-Server AppsApplying React.js learnings to SwiftUI — In the last architecture, we discussed in detail about SwiftUI Architecture using the MV Pattern. It is highly recommended that you read that article. In this post, we will cover how to create SwiftUI client/server applications using patterns and practices learned from the React.js framework. Consuming JSON in React React was introduced in 2013…Swiftui5 min readSwiftui5 min read
Oct 15, 2022Member-onlyEmbracing Core Data in SwiftUILast year I was working on an app which was using the Core Data framework as a persistent medium to the SQLite store. I was reluctant to use any SwiftUI property wrappers for Core Data in my app, because I wanted to structure the app in several layers and those…IOS App Development10 min readIOS App Development10 min read
Published inBetter Programming·Oct 14, 2022Member-onlySwiftUI Architecture — A Complete Guide to the MV Pattern ApproachInstead of fighting the framework, try to embrace it — Update 03/09/2023 — I published a brand new article titled “Building Large-Scale Apps with SwiftUI: A Guide to Modular Architecture”. Update 02/03/2023 — I recently published few more articles about SwiftUI Architecture. This includes exploring the Container Pattern(https://azamsharp.com/2023/01/24/introduction-to-container-pattern.html), …Swiftui11 min readSwiftui11 min read
Published inBetter Programming·Aug 18, 2022Member-onlyMV State Pattern — A Better Way of Building SwiftUI AppsIntroducing the MV Pattern — Update: I wrote a more detailed version of this article title “Building Large-Scale Apps with SwiftUI — A Guide to Modular Architecture.” I started working with SwiftUI framework in 2019. Like most developers, I also jumped on the MVVM bandwagon. I wrote books on it, gave presentations and even created…Swiftui11 min readSwiftui11 min read
Published inBetter Programming·Jul 29, 2022Member-onlySwiftUI View is also a View ModelComparison with WPF framework — In this post, I will cover how a SwiftUI View is not only a view but also a ViewModel. We will compare it with WPF framework and see how SwiftUI already has built-in support for ViewModel right within the view. …Swiftui4 min readSwiftui4 min read
Jun 30, 2022Member-only@EnvironmentObject in Views May Not be a Good Idea But Avoiding Them is Probably Much WorseIn SwiftUI, @EnvironmentObject allows you to create global state that can be shared and manipulated from any view in your application. We tend to put @EnvironmentObject in our views and directly access the global state. This creates a tight coupling between the view and the @EnvironmentObject, but avoiding this approach…Swiftui4 min readSwiftui4 min read
May 2, 2022Surviving the Coding Bootcamp — From no coding experience to earning a six-figure salaryWhat if there is a school, which only focuses on skills you need to become a software developer. A school that will take 4–6 months to complete, instead of 4–5 years. A school that will cost a fraction of the price of a traditional college. …Coding2 min readCoding2 min read
Mar 28, 2022NEW COURSE — Introduction to Server Driven UI in SwiftWhat if there is a way to update the user interface of your app instantly, without having to submit a new version? Companies like Airbnb, Spotify, Flipkart, Swiggy and several others use a technique called Server Driven UI, which allows them to remotely update their user interfaces based on the…IOS App Development3 min readIOS App Development3 min read