Contents

CaptureContext/combine-cocoa

Cocoa extensions for Apple Combine framework.

Installation

Basic

You can add CombineCocoa to an Xcode project by adding it as a package dependency.

  1. From the File menu, select Swift Packages › Add Package Dependency…
  2. Enter "https://github.com/capturecontext/combine-cocoa.git" into the package repository URL text field
  3. Choose products you need to link them to your project.

Recommended

If you use SwiftPM for your project, you can add CombineCocoa to your package file.

.package(
  url: "https://github.com/capturecontext/combine-cocoa.git",
  .upToNextMinor(from: "0.3.0")
)

Do not forget about target dependencies:

.product(
  name: "CombineCocoa", 
  package: "combine-cocoa"
)
.product(
  name: "CombineCocoaMacros", 
  package: "combine-cocoa"
)

[!NOTE]

The package is compatible with non-Apple platforms, however this package uses conditional compilation, so APIs are only available on Apple platforms

License

This library is released under the MIT license. See LICENCE for details.

See [ACKNOWLEDGMENTS][ACKNOWLEDGMENTS] for inspiration references and their licences.

Package Metadata

Repository: CaptureContext/combine-cocoa

Stars: 1

Forks: 0

Open issues: 0

Default branch: main

Primary language: swift

License: MIT

Topics: cocoa, combine, frp, macros, objc-runtime, reactive, reactive-programming, runtime, spm, swift, swift-macro, swift-macros, swift-package-manager, swift-runtime

README: README.md