basically, what I wish to do would be
enum MyEnum : MyObject {
case first = MyObject(value1, value2, value3)
...
}
I've looked the documentation and tried to code something like that but it looks like it's not possible as the rawvalue type is complex.
My questions are: so is this complex type of enum can be done? If not, which design would you recommend to do that (as I would like to avoid making huge switch cases)?
Thanks a lot!