Swift protocol with return generic types

前端 未结 0 747
情书的邮戳
情书的邮戳 2021-01-14 04:47

I have user model

protocol AppUser: Hashable {
    var name: String { get }
}

struct AppUserImpl: AppUser {
    var name: String
}

factory

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