Enum of tuples in Swift

前端 未结 0 1967
生来不讨喜
生来不讨喜 2020-12-23 06:58

Is this possible to create a enum of Tuples in Swift?

I\'d like to build something like:

enum ErrorCode: (Int, String) {
    case Generic_Error = (         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题