YoVDO

Learning Combine with Swift

Offered By: LinkedIn Learning

Tags

Swift Courses iOS Development Courses SwiftUI Courses REST APIs Courses Asynchronous Programming Courses

Course Description

Overview

Learn how to use Combine—Apple’s newest declarative framework—to request and process data to and from APIs and SwiftUI.

Syllabus

Introduction
  • Power up your app with Combine
  • What you should know
1. Introduction to Combine
  • What is Combine?
  • Shift to functional reactive programming
  • Overview of SwiftUI
  • Advantages of Combine
2. Combine Fundamentals
  • Understand the Combine life cycle
  • Transmit data with publishers
  • Manipulate data with operators
  • Consume data with subscribers
  • Publish and subscribe to data with subjects
  • Publish data once with Future and Just
  • Challenge: Create a simple Combine data stream
  • Solution: Create a simple Combine data stream
3. Work with REST APIs
  • Call REST APIs with DataTaskPublisher
  • Handle errors with Combine
  • Unit testing and Combine
  • Challenge: Use Combine to call an API endpoint
  • Solution: Use Combine to call an API endpoint
4. Advanced Concepts
  • Manage threads with schedulers
  • Work with custom publishers and subscribers
  • Throttle publisher data with backpressure
  • Abstract Combine implementations with type erasures
  • Leverage the Combine advanced operators
  • Challenge: Call an API using schedulers and backpressure
  • Solution: Call an API using schedulers and backpressure
Conclusion
  • Go forth and code

Taught by

Doron Katz

Related Courses

iOS 14 Getting Started
Pluralsight
Building Your First iOS 13 App
LinkedIn Learning
iOS 13 Development Essential Training: 1 Fundamentals, UI, and Architecture
LinkedIn Learning
iOS Development Tips Weekly
LinkedIn Learning
Swift 5: Protocol-Oriented Programming
LinkedIn Learning