I am trying to achieve the following in Swift. Adding more cases to enum rather than editing on the existing one.
For example, I have the following enum and I want to add more cases using extension, not to edit on the original enum.
enum UIType: String, Codable {
case borderButton = "border_button"
case bottomSheet = "bottom_sheet"
}
Now if I want to add more elements to enum
case borderLabel = "border_Label"