Swift 3 Protocol Oriented Programming, 2nd Edition

Swift 3 Protocol Oriented Programming, 2nd Edition

English | 2016 | ISBN: 978-1-78712-994-8 | 227 Pages | PDF, EPUB, AZW3 | 10 MB

Build fast and powerful applications with the power of protocol-oriented programming
One of the most important additions to the new features and capabilities of the Swift programming language was an overhaul of Protocols. Protocol-oriented programming and first class value semantics have now become two incredibly powerful concepts at the heart of Swift’s design.
This book will help you understand the difference between object-oriented programming and protocol-oriented programming. It will demonstrate how to work with protocol-oriented programming using real world use cases. You will gain solid knowledge of the different types that can be used in Swift and the differences between value and reference types. You will be taught how to utilize the advanced features of protocol-oriented programming to boost the performance of your applications.
By the end of the book, you will have a thorough understanding of protocol-oriented programming and how to utilize it to build powerful, practical applications.
What you will learn

  • Understand the difference between object-oriented programming and protocol-oriented programming
  • Explore the different types that Swift offers and what pitfalls to avoid
  • Error handling with do-try-catch block
  • Delve into Generics and Generic programming
  • Implement several design patterns in a protocol-oriented way
  • How to design applications by prioritizing the protocol first and the actual type second
Homepage