Abstract
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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2016 Eric Downey
About this chapter
Cite this chapter
Downey, E. (2016). Protocol-Oriented Programming. In: Practical Swift. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2280-5_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2280-5_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2279-9
Online ISBN: 978-1-4842-2280-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)