SwiftUI Protocols as Type: Value cannot conform to `Identifiable'; only struct/enum/class types can conform to protocols

后端 未结 0 550
孤独总比滥情好
孤独总比滥情好 2021-01-04 08:35

Hope you all had a wonderful holidays. Happy new year!

So, I\'m using protocols as Type:

protocol Protocol_A_Or_B { }
protocol ProtocolA: Protocol_A_Or         


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