---
type: video
yt_id: VVU2YVRMdUlfajQtMHdpRFN6bWFQY3RRLktrbmdFdGR3R1RZ
videoId: KkngEtdwGTY
title: "Protocols and Polymorphism in Swift | Protocol Oriented Programming"
date: "2020-07-03T17:56:23Z"
slug: "protocols-and-polymorphism-in-swift-protocol-oriented-programming"
image: 
  name: "protocols-and-polymorphism-in-swift-protocol-oriented-programming.jpg"
  alt: "Protocols and Polymorphism in Swift | Protocol Oriented Programming"
  width: 1280
  height: 720
status: 'published'
description: "How do we achieve polymorphism in Swift? And why do we prefer Protocols over superclasses?"
tags: ['iOS', 'Swift', 'design patterns', 'polymorphism', 'protocols', 'protocol oriented programming', 'oop', 'object oriented programming', 'inheritance']
---

How do we achieve polymorphism in Swift? And why do we prefer Protocols over superclasses?

🔗Entire iOS Playlist 
[https://www.youtube.com/playlist?list=PL0X6fGhFFNTdT5W3b8kh2DQH4OgKAIewZ](https://www.youtube.com/playlist?list=PL0X6fGhFFNTdT5W3b8kh2DQH4OgKAIewZ)


