Use a supertype of an enum as a protocol or generic in Swift

后端 未结 0 1652
花落未央
花落未央 2021-02-07 02:52

I\'m writing a class that I\'d like be able to work with a "generic int enum", with the conditions that the enum in question provides one or more given definitions.

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