Printing description of system enum value only prints the enum name

后端 未结 0 1541
一个人的身影
一个人的身影 2021-01-13 00:57

To get a string description of the enum value, I can usually just print it out as shown in this answer.

enum CustomEnum {
    case normal
    case special
}
l         


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