阅读背景:

协议只能作为通用约束使用,因为它具有自类型或关联类型需求

来源:互联网 

I have this protocol:

我有这个协议:

protocol ViewType {
    associatedtype T: ViewData.View
    var data:T! {get set}
}
protocol View



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

分享到: