I am dealing with enumeration and subclass in Swift. Each child brings their new properties that need to be stored in Enum. This listing is declared with some values โโin the mother class. I would like to add value to this listing. I canโt figure out how to do this, I tried this to no avail:
extension MotherClass { enum Enumeration { case NewProperty } }
source share