Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Swift 4 Protocol-Oriented Programming: Bring predictability, performance, and productivity to your Swift applications, 3rd Edition

Buy

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

Key Features

  • 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

Book Description

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.

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

Table of Contents

  1. Starting with the Protocol
  2. Our type choices
  3. Extensions
  4. Generics
  5. Object-Oriented Programming
  6. Protocol-Oriented Programming
  7. Adopting Design Patterns in Swift
  8. Case Studies
(HTML tags aren't allowed.)

Coronary Microvascular Dysfunction
Coronary Microvascular Dysfunction

In the past two decades a number of studies have shown that abnormalities in the function and structure of coronary microcirculation can be detected in several cardiovascular diseases. On the basis of the clinical setting in which it occurs, coronary microvascular dysfunction (CMD) can be classified into four types: CMD in the absence of...

Narrowband Direction of Arrival Estimation for Antenna Arrays (Synthesis Lectures on Antennas)
Narrowband Direction of Arrival Estimation for Antenna Arrays (Synthesis Lectures on Antennas)
This book provides an introduction to narrowband array signal processing, classical and subspace-based direction of arrival (DOA) estimation with an extensive discussion on adaptive direction of arrival algorithms. The book begins with a presentation of the basic theory, equations, and data models of narrowband arrays. It then discusses basic...
Windows XP in 10 Steps or Less
Windows XP in 10 Steps or Less
If you need Windows XP solutions fast, then this book is for you–whether you’re new to Windows XP or you need help dealing with the applications that come with it. Open the book and you’ll discover clear, easy-to-follow instructions for more than 250 key Windows XP tasks, each presented in ten quick steps–or less....

What's Mine Is Yours: The Rise of Collaborative Consumption. Rachel Botsman, Roo Rogers
What's Mine Is Yours: The Rise of Collaborative Consumption. Rachel Botsman, Roo Rogers

In the 20th century humanity consumed products faster than ever, but this way of living is no longer sustainable. This new and important book shows how technological advances are driving forms of 'collaborative consumption' which will change forever the ways in which we interact both with businesses and with each other. The average...

Computer Design and Architecture Revised and Expanded
Computer Design and Architecture Revised and Expanded
This unique and proven text provides a hands-on introduction to the design of a computer system-depicting, step by step, the arrangement of a simple but complete hypothetical computer followed by detailed architectural features of existing computer systems as enhancements to the structure of the simple computer. Changes in the Third Edition of...
Excel 2003 Bible
Excel 2003 Bible
If Excel 2003 can do it, you can do it too...

Whether you’re just discovering Excel or are already a power user, there’s no better instructor than "Mr. Spreadsheet," John Walkenbach. From basic formulas, functions, and chart creation to data analysis, custom number formats, data validation, and Excel programming with VBA,...

©2021 LearnIT (support@pdfchm.net) - Privacy Policy