Launching an App on the App Store Using SwiftUI & ChatGPT

Are you ready to bring your app idea to life and launch it on the App Store? With the power of SwiftUI and ChatGPT, it’s more achievable than ever before. In this guide, we’ll walk you through the process step by step and provide you with valuable prompts to help you along the way. Book […]

Expense Split – A Journey from Old to New

I recently decided to give my hobby app – Expense Split a complete makeover. The objective was not just to update its look but also to improve its architecture and add new features. In this blog post, I will walk you through the entire process, comparing old screenshots with new ones to highlight the changes. […]

Closures, Extensions and Generics in Swift

Closures Closures are self contained lines of code that can be passed around the application and similar to blocks in Objective-C. A typical closure syntax in Swift looks as shown below Closure Syntax { (parameters) -> return type in statements } Example closure in Swift var greetings = { (name:String, message:String) -> (String) in message […]

Dependency Injection in Swift

Dependency injection is a design pattern that lets you to pass the dependencies for the object instances instead of creating the them inside the instances. Let us see this with an example of an app that manages Expenses. In an Expense app we might have different components like ExpenseManager – Responsible of managing business logic […]

Memory management in Swift

Memory management in Swift is done by Automatic Reference Counting or ARC. Whenever a variables holds an instance of an object the memory count for that object increases by 1. And when variable becomes out of scope or set to nil, the memory count decreases 1. class Teacher { var name: String? var course: String? […]

What are the different lifecycle methods in a typical UIViewController?

Here is the list of Lifecycle methods in a ViewController are viewDidLoad – Called after the view controller’s view hierarchy has been loaded into memory. It is used for initial setup, such as creating and configuring UI elements. viewWillAppear – Called just before the view is about to be added to the view hierarchy and […]

Explain App Life Cycle

The app life cycle refers to the sequence of steps that app takes when an user launches an app until it terminates. Understanding the life cycle will help the developer to manage app behaviour and proper allocation and deallocation of resources. Image Credit :- Apple Not Running – Initial stage when the app is not […]