Problem Statement
What is protocol-oriented programming (POP) in Swift?
Explanation
Protocol-Oriented Programming in Swift is a paradigm where protocols are used to define behaviours and types implement them, thereby favouring composition and default implementations rather than deep class hierarchies. This leads to more flexible, testable and reusable code.