Protocol.Oriented.Programming.with.Swift.1785

时间:2019-05-02 07:31:24
【文件属性】:
文件名称:Protocol.Oriented.Programming.with.Swift.1785
文件大小:1.33MB
文件格式:PDF
更新时间:2019-05-02 07:31:24
Swift Protocol Oriented Programming Key Features 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. Book Description 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. 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 Table of Contents Chapter 1. Object-Oriented and Protocol-Oriented Programming Chapter 2. Our Type Choices Chapter 3. Catching Our Errors Chapter 4. All about the Protocol Chapter 5. Let's Extend Some Types Chapter 6. Adopting Design Patterns in Swift Chapter 7. Case Studies

网友评论

  • 可惜是英文版,不然还是可以看的