One mistake we make a lot of times as Software Engineers is letting frameworks define our architecture. It should be the other way round. According to...
Continue reading...iOS
Everything iOS development…
Adding dependencies to your Xcode project easily using Swift Package Manager
There are various ways to add dependencies to your Xcode project. There is CocoaPods, a dependency manager for iOS & Mac projects where you specify the...
Continue reading...Creating and distributing a simple iOS library using Swift Package Manager
The Swift Package Manager (SPM) is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process...
Continue reading...Should you use swift closure or delegate?
Have you ever wanted to implement something but you have multiple options to achieve the same thing? That’s the issue here. It’s a good kind of...
Continue reading...Setting up your Xcode project for multiple development environments (dev, staging, live)
Are you in the habit of commenting out and uncommenting your API BASE URL (as shown below) whenever you want to build your project for Dev,...
Continue reading...My best iOS library in 2019 – R.swift
Of all the iOS libraries I got to know about in the year 2019, R.swift happens to be at the top, for me. Coming from an...
Continue reading...How I implemented my own LiveData for iOS using Swift
I implemented my own LiveData for iOS using Swift. Here’s how: So, I was working on an app, using the MVVM architecture and I needed a...
Continue reading...So far so good – SwiftUI vs Jetpack Compose
After a few weeks of trying out Jetpack Compose and SwiftUI, the declarative UI toolkits introduced by Google and Apple this year, I have a couple...
Continue reading...Why, When and How to use protocols in Swift
According to the Swift documentation: A protocol defines a blueprint of methods, properties, and other requirements that suit a particular task or piece of functionality. The protocol can...
Continue reading...Creating a TabView app in SwiftUI
SwiftUI is Apple’s new user interface toolkit and it provides a state-driven declarative way of designing your apps. Meaning, we tell SwiftUI how we want our...
Continue reading...