Swift 4 Protocol-Oriented Programming - Third Edition

Jon Hoffman

Swift 4 Protocol-Oriented Programming - Third Edition
Format
Paperback
Publisher
Packt Publishing Limited
Country
United Kingdom
Published
6 October 2017
Pages
210
ISBN
9781788470032

Swift 4 Protocol-Oriented Programming - Third Edition

Jon Hoffman

This title is printed to order. This book may have been self-published. If so, we cannot guarantee the quality of the content. In the main most books will have gone through the editing process however some may not. We therefore suggest that you be aware of this before ordering this book. If in doubt check either the author or publisher’s details as we are unable to accept any returns unless they are faulty. Please contact us if you have any questions.

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

About This Book

* 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

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

* 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

In Detail

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.

Style and approach

This book is written for developers who learn best by working with code, so every concept discussed in this book is reinforced with real code examples.

This item is not currently in-stock. It can be ordered online and is expected to ship in 7-14 days

Our stock data is updated periodically, and availability may change throughout the day for in-demand items. Please call the relevant shop for the most current stock information. Prices are subject to change without notice.

Sign in or become a Readings Member to add this title to a wishlist.