阅读背景:

类,在Swift中作为函数参数符合协议

来源:互联网 

In Objective-C, it's possible to specify a class conforming to a protocol as a method parameter. For example, I could have a method that only allows a In Objective-C, it's possible to specify a clas




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: