•21 • WWDC ’21, ’20, ’19 Scholar •GSoC 2020 with VLC •iOS Engineer •Airplane and Space Enthusiast

Leverage the UIViewControllerRepresentable in your SwiftUI application

Custom fonts in a SwiftUI application
Custom fonts in a SwiftUI application. Photo by the author.

Over the past year, SwiftUI has gotten more robust and mature than it was just a couple of years ago. However, there are still quite a few UIKit elements missing in SwiftUI — and one of them is the UIFontPickerViewController. This UIKit class is a subclass of UIViewController and is…

Swift 5.1 introduces a new property concept called property wrapper. A property wrapper helps you mark a clear distinction between the code that defines a property and the code that manages how that property is stored. For example, a common task that we as iOS developers face regularly is persisting…

In this tutorial, we’ll learn how to use the IGStoryKit framework to share stickers with customized background to Instagram Stories.


IGStoryKit lets you easily share content stickers with different background types to Instagram stories from your iOS and iPadOS apps.


IGStoryKit is available via Swift Package Manager. To add IGStoryKit

This article was originally published on my website.

In this tutorial, we’ll learn how to deal with Optionals in Swift.

What are optionals?

Optionals are Swift Language traits that lets the programmer operate on a variable that may or may not have a value at a particular instance. Usually, this applies to async…

At WWDC 2020 SwiftUI got a new property wrapper called @StateObject. What is the main purpose and why does this new property wrapper exist?

Previously when views subscribed to Data models, they did so with the @ObservedObject property wrapper. This was fine, however there was a critical issue.
@ObservedObject is not…

This tutorial was first published on my blog.

At WWDC 2020, Apple announced various improvements to their frameworks and SwiftUI was at the front of the line to receive new API and existing API refinements. In this tutorial, we’ll learn how crazy simple it is to integrate MapViews using the…

This article was originally published on my blog.

At WWDC 2020 Apple announced a whole new set of interactions with the existing UIMenu and UIAction APIs. The small menus that were previously triggered by haptic/3D Touch can now be shown without them. Here’s how

This tutorial requires that you have…

This post was originally published on my blog

A Brand new ColorPicker introduced at WWDC 2020

WWDC 2020 brought many new UIControl APIs to iOS, iPadOS, and macOS. One of the best new additions is the system Color Picker. Here are some of the main features of this new control-

  • Native- adapts to system fonts, themes.
  • Powerful- Colors…

Swapnanil Dhol

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store