1
Ich möchte eine Variable, die Protokoll entspricht, aber der schnelle Compiler sagt mir das Protokoll nicht bestätigt.Swift Protokollkonformität
protocol A {}
protocol B {
var a : A { get }
}
class AA : A {}
// Type 'BB' does not conform to protocol 'B'
class BB : B {
let a = AA()
}