In this chapter, learn how to create your own custom publishers, and work with more advanced use cases.
- There are times when your built-in publishers, … operators and subscribers won't do. … With Combine being a relatively new framework, … you'll end up finding missing features and functionalities. … We should expect Apple to bridge that gap … over the next few years, but in the meantime, … Apple has at least given us the tools … to create our own custom publishers and subscribers. … This is a relatively advanced topic … which we will explore in a brief and higher level. … Let's begin. … First, let's recap the publisher … and subscriber interaction workflow again. … It's important before we look at creating a more advanced … custom publisher and subscriber that we understand this. … First, the subscriber subscribes to the publisher. … The publisher then creates a subscription instance … via the received subscription. … The subscriber then requests values … by setting demand through a subscription request method. … Subscription then emits in response values … back to the subscriber via the subscriber's receive method. …
- Functional reactive programming techniques
- Transmitting data with publishers
- Consuming data with subscribers
- Publishing data
- Creating a simple Combine data stream
- Calling REST APIs
- Handling errors
- Using testing
- Managing threads with schedulers
- Throttling publisher data
- Leveraging advanced operators
Skill Level Advanced
1. Introduction to Combine
2. Combine Fundamentals
3. Work with REST APIs
4. Advanced Concepts
Go forth and code1m 31s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.