David PachecoUsing Kotlin’s sealed class to approximate Swift’s enum with associated dataSwift has a great feature for an enum type that allows you to associated data with it. Here is the example given on the Swift Programming…May 26, 2017May 26, 2017