Protocol-Oriented Programming

  • Eric Downey


This chapter is going to walk you through protocol-oriented programming, which is my favorite paradigm in the Swift language. We will go over what protocols are, how they work, and how you have already used protocols. We will look at interfaces and protocols to see how these concepts have been implemented in Swift and other languages, and this will lead us into the concepts of traits and abilities.


Game Development Reference Type Animal Class Protocol Extension Previous Code 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Eric Downey 2016

Authors and Affiliations

  • Eric Downey
    • 1
  1. 1.ColumbusUSA

Personalised recommendations