How to switch on a RawRepresentable enum type in Swift

后端 未结 0 1615
闹比i
闹比i 2021-01-01 08:28

I have a method that takes type AnyObject and does some magic on it to turn it into a string. However, I cannot get a Swift enum type to work:



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