
- English
- ePUB (mobile friendly)
- Available on iOS & Android
About this book
Build fast and powerful applications by harnessing the power of protocol-oriented programming in Swift 4About 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 frameworksWho This Book Is ForThis 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 secondIn DetailSwift 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 approachThis 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.
Tools to learn more effectively

Saving Books

Keyword Search

Annotating Text

Listen to it instead
Information
Table of contents
- Title Page
- Copyright
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Preface
- Starting with the Protocol
- Our Type Choices
- Extensions
- Generics
- Object-Oriented Programming
- Protocol-Oriented Programming
- Adopting Design Patterns in Swift
- Case Studies
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app