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
()
Ex_Files_Learning_Combine_Swift.zip
(351 KB)