Imitating sealed class in Swift
Kotlin's sealed classes are a powerful feature that allows developers to define a closed set of subclasses for a given class. In this blog post, we'll take a look at how to imitate this feature in Swift and the benefits it can bring to your code.
Fir...
nitishbhatt.hashnode.dev3 min read