Posts

Showing posts with the label Combine

Combine - RxSwift's Successor

Image
Introduction: When I got to watch this WWDC video where the Apple engineers introduced a brand new Combine framework that enables developers to write asynchronous programs effectively, I was literally taken away after watching it. I will tell you the shocking story along the way. Let’s start by putting Apple’s definition for the Combine framework: “ A unified, declarative API for processing values overtime ” Combine introduces the framework’s main characteristics as: Generic Type-Safe Composition first The ‘Combine’ is Apple’s first asynchronous event-handling framework. If you’ve done reactive programming earlier, you’d be already aware but all you’ve done is only the imperative programming so far, then read this will serve as a good starting point. A generic definition of Reactive Programming goes like this: Reactive programming is an asynchronous programming paradigm oriented around data streams and the propagation of change. In th...