CombineX 0.4.0

CombineX 0.4.0

Maintained by luoxiu.



CombineX 0.4.0

  • By
  • Quentin Jin and ddddxxx

CombineX

Github CI Status Release Install Supported Platform Discord

简体中文

Open-source implementation of Apple's Combine for processing values over time.

Though CombineX have implemented all the Combine interface, the project is still in early development and not ready for production.

What is Combine

Customize handling of asynchronous events by combining event-processing operators. -- Apple

Combine is a Functional Reactive Programming (FRP) framework launched by Apple at WWDC 2019. It will definitely be the cornerstone of Swift programming in the foreseeable future.

Get Started

Requirements

  • Swift 5.0 (Xcode 10.2)

Installation

Swift Package Manager (Recommended)

dependencies.append(
    .package(url: "https://github.com/cx-org/CombineX", from: "0.1.0")
)

CocoaPods

pod 'CombineX', "~> 0.1.0"

Carthage

github "cx-org/CombineX" ~> 0.1.0

Some features are not available with specific PM.

Swift PM CocoaPods Carthage
CXShim Yes No No
ObserableObject Yes No No

Related Projects

These libraries bring additional functionality to Combine. They are all Combine Compatible Package and you're free to switch underlying Combine implementation between CombineX and Apple's Combine.

  • CXCocoa: provides Combine extensions to Cocoa, such as KVO+Publisher, Method Interception, UIBinding, Delegate Proxy, etc.
  • CXExtensions: provides a collection of useful extensions for Combine, such as IgnoreError, DelayedAutoCancellable, etc.