E-book details

Swift 4 Protocol-Oriented Programming. Bring predictability, performance, and productivity to your Swift applications - Third Edition

Swift 4 Protocol-Oriented Programming. Bring predictability, performance, and productivity to your Swift applications - Third Edition

Jon Hoffman

Ebook
Swift has become the number one language used in iOS and macOS development. The Swift standard library is developed using protocol-oriented programming techniques, generics, and first-class value semantics; therefore, every Swift developer should understand these powerful concepts and how to take advantage of them in their application design.

This book will help you understand the differences 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 a solid knowledge of the various types that can be used in Swift and the differences between value and reference types. You will be taught how protocol-oriented programming techniques can be used to develop very flexible and easy-to-maintain code.

By the end of the book, you will have a thorough understanding of protocol-oriented programming and how to utilize it to build powerful and practical applications.
  • 1. Starting with the Protocol
  • 2. Our type choices
  • 3. Extensions
  • 4. Generics
  • 5. Object-Oriented Programming
  • 6. Protocol-Oriented Programming
  • 7. Adopting Design Patterns in Swift
  • 8. Case Studies
  • Title: Swift 4 Protocol-Oriented Programming. Bring predictability, performance, and productivity to your Swift applications - Third Edition
  • Author: Jon Hoffman
  • Original title: Swift 4 Protocol-Oriented Programming. Bring predictability, performance, and productivity to your Swift applications - Third Edition
  • ISBN: 9781788473828, 9781788473828
  • Date of issue: 2017-10-06
  • Format: Ebook
  • Item ID: e_15qt
  • Publisher: Packt Publishing