Enum of tuples in Swift

前端 未结 0 878
鱼传尺愫
鱼传尺愫 2020-12-23 06:53

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 = (         


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