为什么协议中的唯一属性要求不能被符合的属性所满足?
protocol ProtocolA { var someProperty: ProtocolB { get }}protocol ProtocolB {}class ConformsToB: ProtocolB {}class SomeClass: ProtocolA { // Type 'SomeClass' does not conform to protocol 'ProtocolA' var someProperty: ConformsToB init(someProperty: ConformsToB) { self.someProperty = someProperty }}
一只名叫tom的猫