Phạm Trung Huyhuypham85.hashnode.dev·Apr 22, 2024Mastering Publisher Subscriptions in Combine: A Comprehensive GuideIt’s time to review a little: Subscribers will receive values from Publisher, all subscribers must inherit the Subscriber protocol. public protocol Subscriber { associatedtype Input associatedtype Failure: Error func receive(subscription: Subsc...DiscussCombineiOS
Phạm Trung Huyhuypham85.hashnode.dev·Apr 8, 2024Publisher in CombineContinue with the Combine series, today we will discuss Publisher. Combine needs something that can model a data stream. This is the role of the Publisher protocol. If you haven’t read my article about Combine in general, let’s check it out: Introduc...Discuss·8 likesCombineiOS
Phạm Trung Huyhuypham85.hashnode.dev·Mar 31, 2024Introduction to Combine in iOSWhat is Combine? The Combine framework provides a declarative Swift API for processing values over time. These values can represent many kinds of asynchronous events. Combine declares publishers to expose values that can change over time, and subscri...Discuss·7 likes·32 readsCombineiOS
becomingiOSbecomingios.com·Feb 12, 2024An Introduction to the Combine Framework in iOSThe Combine framework in iOS is a declarative Swift API that allows developers to process values over time, which can represent various kinds of asynchronous events. It is Apple's implementation of Functional Reactive Programming (FRP) and is used to...Discuss·46 readsCombine-Framework
Nikola Milicnikolamilic.hashnode.dev·Oct 25, 2023Asynchronous programming with streamsPublisher Using standard types (Int, String...) allows one to store a piece of information as the current value of some variable, but these variables don't know anything about the past or future values that were and will be part of the application s...DiscussiOS DevelopmentiOS
Stanislav Kirichokswiftdev.hashnode.dev·Jul 18, 2023Structured Concurrency: Error handling patternsThe new concurrency paradigm in Swift opens exciting opportunities to enhance the existing codebase, ensuring multithreading operations' safety and predictability. While some flows become easy and straightforward, others can bring new challenges and ...Discuss·27 readsSwift
Xavierxavier7t.com·Apr 9, 2023Async Task with Combine in SwiftUICombine is a powerful framework introduced by Apple that provides a declarative and reactive approach to handling asynchronous events and data streams. In SwiftUI, Combine is used extensively for handling data flow and reactive programming. In this b...Discuss·631 readsiOS
Vitaly Batrakovvbat.dev·Feb 14, 2023Combine: Yet One Another Quick Start GuideApple announced the Combine framework at the WWDC 2019, which allows the processing of values over time. It is the native Swift implementation of the functional reactive programming paradigm (FRP). Despite its usefulness, many developers still don't ...Discuss·12 likes·498 readsiOS
Canopascanopas.hashnode.dev·Nov 25, 2022How to use Firestore and Firebase Realtime Database with Combine in iOSThe database is at the heart of every application, be it Android, iOS, or the Web. When it comes to iOS databases, there are so many popular options like Coredata, SQLite, and Realm. They all have a common disadvantage though, they are local database...DiscussiOS
Cédric Bahirwecedricbahirwe.hashnode.dev·Sep 2, 2022How to fetch remote data using Combine Framework in SwiftUIDuring WWDC 2019, Apple introduces Combine which provides a declarative Swift API for processing values over time. These values can represent many kinds of asynchronous events. Combine declares publishers to expose values that can change over time,...Discuss·1 like·390 readsSwift