Protocol-Oriented Programming in Swift 5 Protocol-Oriented Programming in Swift 5
Swift Clinic

Protocol-Oriented Programming in Swift 5

Familiarize yourself with POP to fully unleash the power of Swift 5 and protocols

    • 11,99 €
    • 11,99 €

Description de l’éditeur

Protocol-Oriented Programming is a powerful approach that makes it easier to write efficient, elegant, and professional Swift code. Anyone who plans to design, implement, or understand a modern Swift codebase needs to understand this programming paradigm.

I’ll make the transition from Object-Oriented Programming to Protocol-Oriented Programming as smooth as possible—regardless of whether you’ve been working with object-oriented languages for decades or you’re just about to write your first, extensive project in Swift. 

We’ll begin with an in-depth discussion of what Protocol-Oriented Programming is and what makes it different from the object-oriented programming approach. 

We’ll then talk about three fundamental concepts: 
• Protocol extensions
• Protocol inheritance
• Protocol composition

Understanding these concepts is crucial to applying the Protocol-Oriented Programming (POP) paradigm effectively.

To solidify them, I’m going to lead you through several Swift coding examples.

Although this book focuses on POP, we’ll usually encounter generics when using protocols. I dedicated an entire chapter to show you how to leverage the power of generics combined with protocols. 

Finally, you can follow along with me as I build a full-blown application from scratch using the protocol-oriented approach.

Throughout the book, you'll acquire coding skills that can be applied in real-world situations. And by the time you finish, you’ll have the knowledge to design and write professional applications that leverage the power of protocol-oriented programming.

GENRE
Informatique et Internet
SORTIE
2021
27 février
LANGUE
EN
Anglais
LONGUEUR
159
Pages
ÉDITIONS
Karoly Nyisztor
TAILLE
1,1
Mo

Plus de livres par Karoly Nyisztor

Machine Learning with Core ML 2 and Swift Machine Learning with Core ML 2 and Swift
2019
Introduction to Algorithms and Data Structures in Swift 4 Introduction to Algorithms and Data Structures in Swift 4
2018
Design Patterns in Swift 5 Design Patterns in Swift 5
2019
UML and Object-Oriented Design Foundations UML and Object-Oriented Design Foundations
2018
Tcl Programming Foundations Tcl Programming Foundations
2024
Secure C and C++ Coding Secure C and C++ Coding
2024

D’autres ont aussi acheté

A Combine Kickstart A Combine Kickstart
2021
UIKit for Masterminds UIKit for Masterminds
2021
SwiftUI For Dummies SwiftUI For Dummies
2020
Core Data with SwiftUI Core Data with SwiftUI
2022
SwiftUI for Masterminds SwiftUI for Masterminds
2020
SwiftUI for Masterminds 2nd Edition 2022 SwiftUI for Masterminds 2nd Edition 2022
2022

Autres livres de cette série

Machine Learning with Core ML 2 and Swift Machine Learning with Core ML 2 and Swift
2019
Introduction to Algorithms and Data Structures in Swift 4 Introduction to Algorithms and Data Structures in Swift 4
2018
Design Patterns in Swift 5 Design Patterns in Swift 5
2019