Sobes.tech
Junior

Is there multiple inheritance in Swift?

sobes.tech AI

Answer from AI

No, multiple inheritance of classes is absent in Swift. Protocols are used to achieve similar results. A class can conform to multiple protocols, inheriting their requirements (properties, methods). Protocols can provide default implementations through extensions.