Swift 4 Protocol-Oriented Programming - Third Edition
Jon Hoffman
- 出版商: Packt Publishing
- 出版日期: 2017-10-04
- 售價: $1,810
- 貴賓價: 9.5 折 $1,720
- 語言: 英文
- 頁數: 210
- 裝訂: Paperback
- ISBN: 1788470036
- ISBN-13: 9781788470032
-
相關分類:
Apple Developer
-
其他版本:
Swift Protocol-Oriented Programming -- Fourth Edition
買這商品的人也買了...
-
$3,800$3,610 -
$1,870$1,777 -
$948Swift Programming: The Big Nerd Ranch Guide, 2/e (Paperback)
-
$1,980$1,881 -
$301區塊鏈核心算法解析
-
$2,140$2,033
相關主題
商品描述
Key Features
- Leverage the power of protocol-oriented programming in your applications and learn from real-world use cases
- Create a flexible code base with protocols and protocol extensions
- Leverage the power of generics in Swift 4 to create very flexible frameworks
Book Description
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.
What you will learn
- Understand the differences between object-oriented programming and protocol-oriented programming
- Explore the different types that Swift offers and what pitfalls to avoid
- Delve into generics and generic programming
- Learn how to implement Copy-On-Write within your custom types
- Implement several design patterns in a protocol-oriented way
- Design applications by prioritizing the protocol first and the implementation types second
About the Author
Jon Hoffman has over 25 years of experience in the field of information technology. Over these years, Jon has worked in the areas of system administration, network administration, network security, application development, and architecture. Currently, Jon works as a senior software engineer for Syn-Tech Systems.
Jon has developed extensively for the iOS platform since 2008. This includes several apps that he has published in the App Store, apps that he has written for third parties, and numerous enterprise applications. He has also developed mobile applications for the Android and Windows platforms. What really drives Jon the challenges that the field of information technology provides and there is nothing more exhilarating to him than overcoming a challenge.
Some of Jon’s other interests are spending time with his family, robotic projects, and 3D printing. Jon also really enjoys Tae Kwon Do, where he and his oldest daughter Kailey earned their black belts together early in 2014, Kim (his wife) earned her black belt in December 2014, and his youngest daughter Kara is currently working towards her black belt.
Table of Contents
- Starting with the Protocol
- Our type choices
- Extensions
- Generics
- Object-Oriented Programming
- Protocol-Oriented Programming
- Adopting Design Patterns in Swift
- Case Studies