Protocol functions with Any and Associated Type

后端 未结 0 398
天涯浪人
天涯浪人 2021-02-01 02:24
protocol TableRow {
    func configure(with model: Any) // line a
}
protocol Row: TableRow {
    associatedtype Model
    func configure(with model: Model) // line b
            


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