Swift Function Input Generic Conform To Both Class And Protocol

后端 未结 0 2087
攒了一身酷
攒了一身酷 2020-11-21 06:22

I\'m trying to have a function take a generic input that conforms to both a class and a protocol in order to process values where some belong to the class and others belong

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