Swift 4 Protocol-Oriented Programming [Video]

Preview in Mapt

Swift 4 Protocol-Oriented Programming [Video]

Jon Hoffman

Master multithreading and concurrent processing with C++

Quick links: > What will you learn?> Table of content

Video
$106.25
RRP $124.99
Save 14%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$106.25
RRP $124.99

Frequently bought together


Swift 4 Protocol-Oriented Programming [Video] Book Cover
Swift 4 Protocol-Oriented Programming [Video]
$ 124.99
$ 106.25
Swift 4 Protocol-Oriented Programming - Third Edition Book Cover
Swift 4 Protocol-Oriented Programming - Third Edition
$ 31.99
$ 22.40
Buy 2 for $35.00
Save $121.98
Add to Cart

Video Details

ISBN 139781788995160
Course Length2 hours 54 minutes

Video 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 course will help you understand the differences between Object-Oriented Programming and Protocol-Oriented Programming. It demonstrates 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 course, 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 course is written for developers who learn best by working with code, so every concept discussed in this course is reinforced with real code examples.

Table of Contents

Starting with the Protocol
The Course Overview
Protocol Syntax and Inheritance
Using Protocols as a Type
Polymorphism with Protocols
Type Casting and Associated Types with Protocols
Delegation
Designing with Protocols
Our Type Choices
Classes
Access Controls and Enumerations
Tuples
Value and Reference Types
Recursive Data Types and Inheritance for Reference Types
Dynamic Dispatch
Extensions
Defining an Extension
Protocol Extensions
Text Validation
Extensions with the Swift Standard Library
Conforming to the Equatable Protocol
Generics
Generic Functions and Type Constraints
Generic Types
Associated Types
Generic Subscripts
Copy-on-write
Generics in a Protocol-Oriented Design
Object-Oriented Programming
Swift as an Object-Oriented Programming Language
Issues with the Object-Oriented Design
Protocol-Oriented Programming
Swift as a Protocol-Oriented Programming Language
Object-Oriented Programming versus Protocol-Oriented Programming
Adopting Design Patterns in Swift
Creational Patterns
Structural Design Patterns
Behavioral Design Patterns
Case Studies
Logging Service
Data Access Layer

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

Authors

Table of Contents

Starting with the Protocol
The Course Overview
Protocol Syntax and Inheritance
Using Protocols as a Type
Polymorphism with Protocols
Type Casting and Associated Types with Protocols
Delegation
Designing with Protocols
Our Type Choices
Classes
Access Controls and Enumerations
Tuples
Value and Reference Types
Recursive Data Types and Inheritance for Reference Types
Dynamic Dispatch
Extensions
Defining an Extension
Protocol Extensions
Text Validation
Extensions with the Swift Standard Library
Conforming to the Equatable Protocol
Generics
Generic Functions and Type Constraints
Generic Types
Associated Types
Generic Subscripts
Copy-on-write
Generics in a Protocol-Oriented Design
Object-Oriented Programming
Swift as an Object-Oriented Programming Language
Issues with the Object-Oriented Design
Protocol-Oriented Programming
Swift as a Protocol-Oriented Programming Language
Object-Oriented Programming versus Protocol-Oriented Programming
Adopting Design Patterns in Swift
Creational Patterns
Structural Design Patterns
Behavioral Design Patterns
Case Studies
Logging Service
Data Access Layer

Video Details

ISBN 139781788995160
Course Length2 hours 54 minutes
Read More

Read More Reviews

Recommended for You

Swift 4 Protocol-Oriented Programming - Third Edition Book Cover
Swift 4 Protocol-Oriented Programming - Third Edition
$ 31.99
$ 22.40
Swift 3 Protocol-Oriented Programming - Second Edition Book Cover
Swift 3 Protocol-Oriented Programming - Second Edition
$ 31.99
$ 22.40
Protocol-Oriented Programming with Swift Book Cover
Protocol-Oriented Programming with Swift
$ 31.99
$ 22.40
Advanced Coding with Unreal Engine 4 [Video] Book Cover
Advanced Coding with Unreal Engine 4 [Video]
$ 124.99
$ 106.25
Getting Started with Bootstrap 4 for Web Development [Video] Book Cover
Getting Started with Bootstrap 4 for Web Development [Video]
$ 124.99
$ 106.25
Machine Learning with C++ [Video] Book Cover
Machine Learning with C++ [Video]
$ 124.99
$ 106.25