Adopt associated type Protocol with another Protocol and use it as property?

前端 未结 0 841
青春惊慌失措
青春惊慌失措 2020-12-03 19:36

I have situation like this:

protocol GeneralFormatter {
    associatedtype Input
    func valueFromInput(_ input: Input) -> Double
}

protocol DateFormatte         


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