An image representing 3D touch.

My Paltry Gripe on Inconsistencies between Force Touch and 3D Touch

This post compares 3D Touch on iPhones and Force Touch on the Apple Watch, noting their similar technology but different user experiences due to screen size. It expresses frustration with the inconsistent interaction between the devices, especially when dealing with notifications, highlighting a need for better integration in Apple’s ecosystem.

February 14, 2017 · 4 min · Vishal V. Shekkar
A image showing a timeline illustration of Dispatch Group's typical functionality.'

Swift: DispatchGroup

DispatchGroup in Swift offers a simple solution for synchronizing multiple unrelated asynchronous operations. It allows tracking the completion of various tasks, even on different queues, without complex setups. This approach avoids messy and non-scalable code, making it ideal for handling multiple asynchronous tasks efficiently.

November 29, 2016 · 3 min · Vishal V. Shekkar
A cover image showing a grid of drawers that typically archive physical objects or notes.

Archiving and Unarchiving Swift Structure Instances — Revisited

Note — Since the release of Swift 3, a few statements made in this article are not true for Swift 3, but they hold good for older versions of Swift. The power of structures in Swift makes you want to use it a lot more than you would in any other language. This is a good thing, as long as you know when to use structures and when to strictly not....

December 8, 2015 · 6 min · Vishal V. Shekkar

Archiving and Unarchiving Swift Structure Instances

Note — This article is now outdated. There’s a new article with updated info here. When working on a project not too long ago, My teammate and I came across the following situation. We started developing the project on Swift 2.0 and moved over to 2.1 with the released of Xcode 7.1. We used a class conforming to the NSCoding protocol to store the basic information about the app’s user....

November 4, 2015 · 2 min · Vishal V. Shekkar