![]() |
1
0
如果将函数设为泛型,则问题将消失:
这是必需的,因为在Swift中 protocols don't conform to base protocols, not even to themselves 以下代码也会发生同样的错误:
错误的原因相同:
|