Skip to main content

Protocol-Oriented Programming

  • Chapter
  • First Online:
Practical Swift
  • 1355 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics