Swift 3 Protocol-Oriented Programming - Second Edition (eBook)
218 Seiten
Packt Publishing (Verlag)
978-1-78712-883-5 (ISBN)
Build fast and powerful applications with the power of protocol-oriented programming
About This Book
- Leverage the power of protocol-oriented programming in your applications and learn from real world use cases
- Create a flexible codebase with protocols and protocol extensions
- Increase the overall productivity and performance of applications with protocol-oriented programming
Who This Book Is For
This book is for Swift developers who want to learn and implement protocol-oriented programming in practical applications.
What You Will Learn
- Understand the difference between object-oriented programming and protocol-oriented programming
- Explore the different types that Swift offers and what pitfalls to avoid
- Error handling with do-try-catch block
- Delve into Generics and Generic programming
- Implement several design patterns in a protocol-oriented way
- How to design applications by prioritizing the protocol first and the actual type second
In Detail
One of the most important additions to the new features and capabilities of the Swift programming language was an overhaul of Protocols. Protocol-oriented programming and first class value semantics have now become two incredibly powerful concepts at the heart of Swift's design.
This book will help you understand the difference 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 solid knowledge of the different types that can be used in Swift and the differences between value and reference types. You will be taught how to utilize the advanced features of protocol-oriented programming to boost the performance of your applications.
By the end of the book, you will have a thorough understanding of protocol-oriented programming and how to utilize it to build powerful, 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.
Build fast and powerful applications with the power of protocol-oriented programmingAbout This BookLeverage the power of protocol-oriented programming in your applications and learn from real world use casesCreate a flexible codebase with protocols and protocol extensionsIncrease the overall productivity and performance of applications with protocol-oriented programmingWho This Book Is ForThis book is for Swift developers who want to learn and implement protocol-oriented programming in practical applications.What You Will LearnUnderstand the difference between object-oriented programming and protocol-oriented programmingExplore the different types that Swift offers and what pitfalls to avoidError handling with do-try-catch blockDelve into Generics and Generic programmingImplement several design patterns in a protocol-oriented wayHow to design applications by prioritizing the protocol first and the actual type secondIn DetailOne of the most important additions to the new features and capabilities of the Swift programming language was an overhaul of Protocols. Protocol-oriented programming and first class value semantics have now become two incredibly powerful concepts at the heart of Swift's design.This book will help you understand the difference 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 solid knowledge of the different types that can be used in Swift and the differences between value and reference types. You will be taught how to utilize the advanced features of protocol-oriented programming to boost the performance of your applications.By the end of the book, you will have a thorough understanding of protocol-oriented programming and how to utilize it to build powerful, 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.
| Erscheint lt. Verlag | 28.11.2016 |
|---|---|
| Sprache | englisch |
| Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
| ISBN-10 | 1-78712-883-0 / 1787128830 |
| ISBN-13 | 978-1-78712-883-5 / 9781787128835 |
| Informationen gemäß Produktsicherheitsverordnung (GPSR) | |
| Haben Sie eine Frage zum Produkt? |
Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM
Dateiformat: EPUB (Electronic Publication)
EPUB ist ein offener Standard für eBooks und eignet sich besonders zur Darstellung von Belletristik und Sachbüchern. Der Fließtext wird dynamisch an die Display- und Schriftgröße angepasst. Auch für mobile Lesegeräte ist EPUB daher gut geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine
Geräteliste und zusätzliche Hinweise
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich