Contained in: Combine: Asynchronous Programming With Swift
combine
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
Hello, Combine!
Jul 19 2023 · Chapter
…gentle introduction to what kind of problems Combine solves, a back story of the roots of reactive programming on Apple's platforms, and a crash course into the basic moving pieces of the framework…
iOS & Swift
Combine: Asynchronous Programming With Swift
Jul 19 2023 · Book
Learn all about declarative asynchronous programming with Swift using the Combine framework! Writing asynchronous code can be challenging, with a variety of possible interfaces to represent, perform, and consume asynchronous work — delegates, notification center, KVO, closures, etc. Juggling all of these different mechanisms can be somewhat overwhelming. Does it really…
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
Combining Operators
Jul 19 2023 · Chapter
Publishers are extremely powerful, but they're even more powerful when composed together! This chapter will teach you about Combine's combining operators which let you take multiple streams and create meaningful logical relationships between them…
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
In Practice: Combine & SwiftUI
Jul 19 2023 · Chapter
SwiftUI is the new user interface paradigm from Apple and it's designed for an interplay with Combine on a whole new level. In this chapter you are going to work through a Combine based SwiftUI project…
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
Error Handling
Jul 19 2023 · Chapter
This chapter will teach about Combine's powerful typed error system, and how you can leverage it to handle errors in your app, and within Combine publishers…
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
In Practice: Project "Collage Neue"
Jul 19 2023 · Chapter
…time to try your new Combine skills in a real project and learn how to build a custom reactive data model and bind it to your…
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
In Practice: Project "News"
Jul 19 2023 · Chapter
…past few chapters, you learned about few practical applications of the Combine integration in Foundation types. You learned how to use URLSession‘s data task publisher to make network calls, you saw how to observe KVO-compatible objects with Combine and more. In this chapter, you will combine your solid…
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
Custom Publishers & Handling Backpressure
Jul 19 2023 · Chapter
…this point in your journey to learn Combine, you may feel like there are plenty of operators missing from the framework. This may be particularly true if you have experience with other reactive frameworks, which typically provide a rich ecosystem of operators, both built-in and third-party. Combine allows…
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
Schedulers
Jul 19 2023 · Chapter
…this chapter you’ll learn what Schedulers are, how they relate to RunLoops, Dispatch queues and Threads and how Combine extends Foundation to integrate with them…
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
Testing
Jul 19 2023 · Chapter
This chapter will introduce you to unit testing techniques for use with Combine code. You’ll go from testing basics in a playground to applying what you’ve learned in adding tests to an existing iOS app project…
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
In Practice: Building a Complete App
Jul 19 2023 · Chapter
…gained valuable skills throughout this book, and in the last section you picked up some advanced Combine chops, too. In this final chapter, the pièce de résistance, you’ll build a complete app that applies what you’ve learned — but the learning is not done yet! Core Data in Combine…
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
Publishers & Subscribers
Jul 19 2023 · Chapter
…essence of Combine is that publishers send values to subscribers. In this chapter you’ll learn all about what that means and how to work with publishers and subscribers, and manage the subscriptions that are created between the two of them. This will start you on your foundation for learning…
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
Time Manipulation Operators
Jul 19 2023 · Chapter
…processing values over time, this chapter goes into the details of performing complex time-based tasks that would be hard to do without Combine…
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
Transforming Operators
Jul 19 2023 · Chapter
…this chapter, you’re going to learn about one of the essential categories of operators in Combine: Transforming operators. You’ll use transforming operators all the time, to manipulate values coming from publishers into a format that is usable for your subscribers. As you’ll see, there are parallels between…
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
Networking
Jul 19 2023 · Chapter
This chapter teaches you how to seamlessly integrate network requests in Combine publisher chains and make your networking easier and more resilient…
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
Conclusion
Jul 19 2023 · Chapter
…finally here! Congratulations on completing this book, and we hope you enjoyed learning about Combine from the book as much as we’ve enjoyed making it. In this book, you’ve learned about how Combine enables you to write apps in a declarative and expressive way while also making your…
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
Key-Value Observing
Jul 19 2023 · Chapter
…chapter shows you how Key-Value Observing, which was historically the best way to get notified when a value changed, now integrates nicely with Combine publishers…
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
Sequence Operators
Jul 19 2023 · Chapter
…this point, you know most of the operators that Combine has to offer! How great is that? There’s still one more category for you to dig into, though: Sequence Operators. Sequence operators are easiest to understand when you realize that publishers are just sequences themselves. Sequence operators work with…
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
Timers
Jul 19 2023 · Chapter
…niche part of your code, timers are always useful to have around and easy to create in Combine, as you’ll learn in this chapter…
iOS & Swift
Chapter in Combine: Asynchronous Programming With Swift
Filtering Operators
Jul 19 2023 · Chapter
…this chapter you'll learn about filtering elements from Combine publishers, so you can easily control the values published by the upstream and only deal with the ones you care about…