Ankit Nigam

iOS

Modularise your app with Swift Package Manager (SPM)

Introduction SPM - Swift Package Manager is a tool for managing the distribution of Reusable Swift code. With the term ‘Distribution’ there comes a question of how to distribute. The answer is Package. It’s nothing new as we are already using some third-party, open-source code or writing our reusable, distributable code with...

26-Jul-2023

iOS

Concurrency with swift: Structured concurrency

This is part 2 of the article series on Concurrency with Swift. The article’s content assumes that the reader understands the Async/Await concept. If you are unfamiliar with the Async/Await concept, please read the first part: Concurrency with Swift: Async/Await. Before we learn Structured Concurrency, it is essential to understand...

13-Feb-2023

iOS

Concurrency with Swift: Async/Await

Concurrency is not something we haven’t known, but in Swift 5.5 this is built-in.  Wait...Why ?? We have been doing concurrent programming for so long and our apps were pretty good and responsive.  Yes, we were able to achieve concurrency in swift by using frameworks like Grand Central Dispatch (GCD) and Operations. They were...

23-Dec-2022

iOS

Networking layer with Combine

What is Combine? The Combine Framework - A framework rolled back in 2019 that works on the fundament of Functional Reactive Programming (FRP) paradigm similar to RxSwift and ReactiveSwift. It is developed by Apple and can be seen as a 1st party alternative to RxSwift and ReactiveSwift. Let’s read from the documentation: ...

01-Jul-2022

Technology

Basics of Swift Enumeration for Constructing Rest Web Service Request

Are you a software engineer? Heard about data types? We are sure you must have heard about various data types and their usage for a very long time now. In this blog, we will talk about enums and their use in constructing rest web-service request. Firstly, we would understand a few basics of Swift Enum. What is Swift Enum? ...

06-Apr-2017