Harsha AgarwalUnderstanding Comparable in Swift.In Swift, the Comparable protocol allows you to compare the values of two objects. If something is Comparable, you can ask questions like…11h ago11h ago
Harsha AgarwalUnderstanding Equatable in Swift.In simple terms, Equatable is a protocol in Swift that allows you to compare two instances of the same type to see if they are equal. Think…1d ago1d ago
Harsha AgarwalUnderstanding init, required init, convenience init, and super init in Swift: Simplifying What…When I first started learning Swift, I found myself tangled in a web of initializers. There were so many init methods—init, required init…2d ago2d ago
Harsha AgarwalUnderstanding Codable in Swift.Codable is a protocol in Swift that allows your data types to be easily converted to and from external representations like JSON, XML, or…2d ago2d ago
Harsha AgarwalUnderstanding RawRepresentable in Swift.In Swift, we often need to work with values that can be represented in a simpler form, like converting an enum case to a string or an…3d ago3d ago
Harsha AgarwalUnderstanding Decodable in Swift.In today’s world, imagine receiving a letter from a friend written in a different language. You might need a translator to understand…4d ago4d ago
Harsha AgarwalMy Week of Learning: A Humble ReflectionThis week has been a journey of growth, learning, and pushing boundaries — both in terms of my technical skills and personal development…5d ago5d ago
Harsha AgarwalUnderstanding Encodable in SwiftWhen you start coding, one of the most valuable skills you’ll develop is the ability to transform your data into a format that can be…5d ago5d ago
Harsha AgarwalUnderstanding some in SwiftImagine you’re at a fruit market. You tell the vendor, “I want some fruit.” The vendor gives you an apple. The key thing here is that you…6d ago6d ago
Harsha AgarwalUnderstanding associatedtype in SwiftWhen you hear the term “associatedtype” in Swift, it might sound intimidating, but it’s actually a simple and powerful concept that lets…Aug 9Aug 9