Swift 4 Protocol-Oriented Programming - Third Edition: Bring predictability, performance, and productivity to your Swift applications

Språk
Engelsk
Format
Kategori

Fakta og dokumentar

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.

© 2017 Packt Publishing (E-bok): 9781788473828

Utgivelsesdato

E-bok: 6. oktober 2017

Andre liker også ...

Derfor vil du elske Storytel:

  • Over 700 000 bøker

  • Eksklusive nyheter hver uke

  • Lytt og les offline

  • Kids Mode (barnevennlig visning)

  • Avslutt når du vil

Det mest populære valget

Unlimited

For deg som vil lytte og lese ubegrenset.

219 kr /måned
50 % i 2 måneder
  • 1 konto

  • Ubegrenset lytting

  • Lytt så mye du vil

  • Over 700 000 bøker

  • Nye eksklusive bøker hver uke

  • Avslutt når du vil

50 % i 2 måneder
Familiens førstevalg

Family

For deg som ønsker å dele historier med familien.

Fra 289 kr/måned
50 % i 2 måneder
  • 2-3 kontoer

  • Ubegrenset lytting

  • Lytt så mye du vil

  • Over 700 000 bøker

  • Nye eksklusive bøker hver uke

  • Avslutt når du vil

2 kontoer

289 kr /måned
50 % i 2 måneder

Basic

For deg som lytter og leser av og til.

149 kr /måned
  • 1 konto

  • 20 timer/måned

  • Lytt opp til 20 timer per måned

  • Over 700 000 bøker

  • Nye eksklusive bøker hver uke

  • Avslutt når du vil

Prøv gratis

Student

Verifiser deg med din student-ID og få halv pris hele livet.

74.50 kr /måned
  • 1 konto

  • 20 timer/måned

  • Lytt opp til 20 timer per måned

  • Studentpris med 50 % rabatt hele livet!

  • Over 700 000 bøker

  • Nye eksklusive bøker hver uke

  • Avslutt når du vil

Prøv gratis + halv pris hele livet

Lytt og les ubegrenset

Kos deg med ubegrenset tilgang til mer enn 700 000 titler.

  • Lytt og les så mye du vil
  • Utforsk et stort bibliotek med fortellinger
  • Over 1500 serier på norsk
  • Ingen bindingstid, avslutt når du vil
Prøv gratis
NO - Details page - Device banner - 894x1036