Harsha AgarwalUnderstanding Arrays Thread-Safety Using NSLock and Dispatch Barrier in Swift.If multiple threads access or modify the array at the same time, it can lead to data corruption, crashes, or unexpected behavior. In this…11h ago11h ago
Harsha AgarwalUnderstanding Why Lazy Variables Cannot Be Weak in Swift.When you start learning Swift, the idea of lazy variables can be both interesting and confusing. And if you’ve heard about weak variables…1d ago11d ago1
Harsha AgarwalUnderstanding How to Override convenience init in SwiftWhat is an Initializer in Swift?2d ago2d ago
Harsha AgarwalUnderstanding Dynamic Dispatch vs. Static Dispatch in Swift.What is Dispatch?4d ago14d ago1
Harsha AgarwalUnderstanding Inheritance and Structs in Swift.When you’re getting started with Swift, two foundational concepts you’ll encounter are classes and structs. While both are used to define…5d ago5d ago
Harsha AgarwalinStackademicUnderstanding reusableIdentifiers in Swift.When building iOS apps, efficiency is key. Imagine having a list of thousands of items — let’s say a contacts app. Would it be practical…6d ago16d ago1
Harsha AgarwalUnderstanding Capture Lists in Swift Closures.Closures in Swift are powerful. They allow us to write blocks of code that we can pass around like variables and execute whenever needed…Sep 8Sep 8
Harsha AgarwalUnderstanding Atomic vs. Non-Atomic in Swift.When building apps in Swift, one topic that might seem abstract but is crucial for high-performance, thread-safe programming is…Sep 71Sep 71
Harsha AgarwalUnderstanding the Open/Closed Principle in SwiftThe Open/Closed Principle (OCP) is one of the five SOLID principles of object-oriented design, aimed at creating robust, maintainable, and…Sep 5Sep 5
Harsha AgarwalIntroduction — an SOP Draft.Writing my first article was a significant milestone, not just in my academic journey, but in shaping my entire approach to technology and…Sep 42Sep 42