Protocol-Oriented Programming with Swift
By Jon Hoffman
Publisher: Packt Publishing
Final Release Date: February 2016
Pages: 212

Build fast and powerful applications by exploiting the power of protocol-oriented programming in Swift

About This Book

  • The only book that shows how to harness the power of Protocol-Oriented Programming in Swift to build real-world applications,
  • Get familiar with the protocol focused approach of application development,
  • Increase the overall productivity and performance of applications with Protocol Oriented Programming.

Who This Book Is For

This book is for Swift developers who want to learn and implement protocol oriented programming in their real world applications.

What You Will Learn

  • The difference between Object-Oriented programming and Protocol-Oriented programming
  • The difference between reference and value types and when to use each
  • How we can leverage tuples to reduce the complexity of our code
  • What are protocols and how to use them
  • How to implement protocol extensions to create a very flexible code base
  • How to implement several design patterns in a Protocol-Oriented approach
  • How to solve real world design issue with protocol oriented programming

In Detail

At the heart of Swift's design is an incredibly powerful idea: protocol-oriented programming. Its many benefits include better code maintainability, increased developer productivity and superior application performance. The book will teach the reader how to apply the ideas behind the protocol oriented programing paradigm to improve the code they write.

This book will introduce the readers to the world of protocol-oriented programming in Swift and will demonstrate the ideas behind this new programming paradigm with real world examples. In addition to learning the concepts of Protocol Oriented programming, it also shows the reader how to reduce the complexity of their codebase using protocol extensions. Beginning with how to create simple protocols, readers will learn how to extend protocols and also to assign behaviors to them.

By the end of this book readers will be able to harness the power of protocol-oriented programming to build real world applications.

Style and approach

In its latest release of Swift, Apple has introduced Protocol Extensions as a new feature at the heart of Swifts design making Swift 2 a protocol-oriented language. Protocol oriented programming being a less explored OOP paradigm, there is little guidance on hot to take advantage of protocol extensions in real-world applications. In addition to offering an in-depth coverage of protocol oriented programming and its concepts, this book also explains how a developer can leverage these features to build powerful, real-world applications

Product Details
Recommended for You
Customer Reviews


by PowerReviews
oreillyProtocol-Oriented Programming with Swift

(based on 1 review)

Ratings Distribution

  • 5 Stars



  • 4 Stars



  • 3 Stars



  • 2 Stars



  • 1 Stars



Reviewed by 1 customer

Displaying review 1

Back to top

(1 of 2 customers found this review helpful)


This is a very well written book

By Traveler

from Topeka, KS

About Me Developer

Verified Reviewer


  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written


    Best Uses

    • Intermediate

    Comments about oreilly Protocol-Oriented Programming with Swift:

    I have just completed the first chapter of the book and I must say....I'm impressed. The author really knows how to write in a clear manner. I've already learned a lot about the difference between object oriented programming and protocol oriented programming and I've just started with the book.m

    The author has started with a simple OO program that he has rewritten as a PO program. Then he carefully discusses the differences between the two versions...all in a very clear manner that is easy to understand.

    Ill try to come back and update this review as I get farther into the book but for now I rate it 5 stars.

    Displaying review 1

    Back to top

    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?
    Ebook:  $31.99
    Formats:  ePub, Mobi, PDF