In this video, learn about concurrent and Combine, and how and when you should be running your processes on the main thread, versus in background, for a more responsive and less error-prone user-experience.
- [Instructor] Just and Future are two special types … of publishers commonly used in Combine. … Just omits a single result … before either terminating successfully or failing. … You could use Just to wrap around a primitive value, … say a string or number into a publisher … with simplicity and have it return just once. … Future on the other hand wraps … a request response into a single result, … either as an output value or failure completion. … It doe so by wrapping any asynchronous call … such as a REST end point in to a publisher. … You will commonly use this … when you want to make a single request … and get back a single response. … And an example of something … you may want to wrap into a publisher … is Apple's own permissions requesting framework. … A promise is a closure that returns a result … from a future call that you can use to either … ingest resulting values or resulting error. … Now let's transition from theory into practice … and take a look at how you may use … these two publisher types. …
- 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?
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.